@semcore/data-table 16.4.2 → 16.4.3
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 +6 -0
- package/lib/cjs/components/AccordionRows/AccordionRows.js +51 -51
- package/lib/cjs/components/Body/Body.js +51 -51
- package/lib/cjs/components/Body/Cell.js +51 -51
- package/lib/cjs/components/Body/LimitOverlay.js +51 -51
- package/lib/cjs/components/Body/Row.js +72 -70
- package/lib/cjs/components/Body/Row.js.map +1 -1
- package/lib/cjs/components/DataTable/DataTable.js +26 -26
- package/lib/cjs/components/Head/Column.js +36 -36
- package/lib/cjs/components/Head/Group.js +36 -36
- package/lib/cjs/components/Head/Head.js +36 -36
- package/lib/es6/components/AccordionRows/AccordionRows.js +51 -51
- package/lib/es6/components/Body/Body.js +51 -51
- package/lib/es6/components/Body/Cell.js +51 -51
- package/lib/es6/components/Body/LimitOverlay.js +51 -51
- package/lib/es6/components/Body/Row.js +72 -70
- package/lib/es6/components/Body/Row.js.map +1 -1
- package/lib/es6/components/DataTable/DataTable.js +26 -26
- package/lib/es6/components/Head/Column.js +36 -36
- package/lib/es6/components/Head/Group.js +36 -36
- package/lib/es6/components/Head/Head.js +36 -36
- package/lib/esm/components/AccordionRows/AccordionRows.mjs +52 -52
- package/lib/esm/components/Body/Body.mjs +52 -52
- package/lib/esm/components/Body/Cell.mjs +52 -52
- package/lib/esm/components/Body/LimitOverlay.mjs +52 -52
- package/lib/esm/components/Body/Row.mjs +73 -69
- package/lib/esm/components/DataTable/DataTable.mjs +28 -28
- package/lib/esm/components/Head/Column.mjs +37 -37
- package/lib/esm/components/Head/Group.mjs +37 -37
- package/lib/esm/components/Head/Head.mjs +37 -37
- package/lib/types/components/Body/Row.d.ts +1 -0
- package/package.json +4 -4
|
@@ -15,46 +15,46 @@ var style = (
|
|
|
15
15
|
/*__reshadow_css_start__*/
|
|
16
16
|
(sstyled.insert(
|
|
17
17
|
/*__inner_css_start__*/
|
|
18
|
-
'.
|
|
18
|
+
'.___SGroupContainer_gos4s_gg_,.___SHead_gos4s_gg_{display:contents}.___SHead_gos4s_gg_.__isDataEmpty_gos4s_gg_.__gridTemplateColumns_gos4s_gg_{display:grid;grid-template-columns:var(--gridTemplateColumns_gos4s);overflow:auto;scrollbar-width:thin}.___SHead_gos4s_gg_.__animationDuration_gos4s_gg_>.___SColumn_gos4s_gg_{transition:top var(--animationDuration_gos4s) ease-out}.___SHead_gos4s_gg_.__sticky_gos4s_gg_ .___SColumn_gos4s_gg_,.___SHead_gos4s_gg_.__sticky_gos4s_gg_ .___SGroup_gos4s_gg_{position:sticky;top:0;z-index:18}.___SHead_gos4s_gg_.__sticky_gos4s_gg_ .___SGroupContainer_gos4s_gg_>.___SColumn_gos4s_gg_{position:sticky;z-index:18}.___SHead_gos4s_gg_.__compact_gos4s_gg_ .___SColumn_gos4s_gg_{padding:var(--intergalactic-spacing-3x, 12px) var(--intergalactic-spacing-2x, 8px)}.___SColumn_gos4s_gg_,.___SGroup_gos4s_gg_{display:flex;align-items:flex-start;font-size:var(--intergalactic-fs-100, 12px);color:var(--intergalactic-text-primary, #191b23);box-sizing:border-box;height:100%;position:relative;transition:width calc(var(--intergalactic-duration-extra-fast, 100)*1ms) ease-in-out,min-width calc(var(--intergalactic-duration-extra-fast, 100)*1ms) ease-in-out,max-width calc(var(--intergalactic-duration-extra-fast, 100)*1ms) ease-in-out;overflow:hidden;line-height:var(--intergalactic-lh-100, 133%)}.___SGroup_gos4s_gg_{justify-content:center;text-align:center;background-color:var(--intergalactic-table-th-primary-cell, #f4f5f9)}.___SGroup_gos4s_gg_._use_primary_gos4s_gg_{padding:var(--intergalactic-spacing-3x, 12px)}.___SGroup_gos4s_gg_._use_primary_gos4s_gg_:has(~.___SColumn_gos4s_gg_.__visibleSort_gos4s_gg_){background-color:var(--intergalactic-table-th-primary-cell-hover, #e0e1e9)}.___SGroup_gos4s_gg_._use_secondary_gos4s_gg_{padding:var(--intergalactic-spacing-2x, 8px)}.___SColumn_gos4s_gg_._borders_both_gos4s_gg_,.___SColumn_gos4s_gg_._borders_left_gos4s_gg_,.___SGroup_gos4s_gg_._borders_both_gos4s_gg_,.___SGroup_gos4s_gg_._borders_left_gos4s_gg_{border-left:1px solid var(--intergalactic-border-secondary, #e0e1e9)}.___SColumn_gos4s_gg_._borders_both_gos4s_gg_,.___SColumn_gos4s_gg_._borders_right_gos4s_gg_,.___SGroup_gos4s_gg_._borders_both_gos4s_gg_,.___SGroup_gos4s_gg_._borders_right_gos4s_gg_{border-right:1px solid var(--intergalactic-border-secondary, #e0e1e9)}.___SColumn_gos4s_gg_._use_primary_gos4s_gg_{padding:var(--intergalactic-spacing-3x, 12px);border-bottom:1px solid var(--intergalactic-border-secondary, #e0e1e9);background-color:var(--intergalactic-table-th-primary-cell, #f4f5f9)}.___SColumn_gos4s_gg_._use_primary_gos4s_gg_ .___SSortWrapper_gos4s_gg_::before{background:linear-gradient(270deg,var(--intergalactic-table-th-primary-cell-hover, #e0e1e9) 67.5%,rgba(224,225,233,0) 105%)}.___SColumn_gos4s_gg_._use_primary_gos4s_gg_.__visibleSort_gos4s_gg_{background-color:var(--intergalactic-table-th-primary-cell-hover, #e0e1e9)}.___SColumn_gos4s_gg_._use_primary_gos4s_gg_.__visibleSort_gos4s_gg_ .___SSortWrapper_gos4s_gg_{flex-basis:calc(var(--intergalactic-spacing-1x, 4px) + 16px);opacity:1}.___SColumn_gos4s_gg_._use_primary_gos4s_gg_.__visibleSort_gos4s_gg_ .___SSortButton_gos4s_gg_,.___SColumn_gos4s_gg_._use_primary_gos4s_gg_.__visibleSort_gos4s_gg_ .___SSortWrapper_gos4s_gg_::before,.___SColumn_gos4s_gg_._use_secondary_gos4s_gg_.__visibleSort_gos4s_gg_ .___SSortWrapper_gos4s_gg_::before{display:flex;opacity:1}.___SColumn_gos4s_gg_._use_primary_gos4s_gg_._justifyContent_right_gos4s_gg_ .___SSortWrapper_gos4s_gg_{position:absolute}.___SColumn_gos4s_gg_._use_primary_gos4s_gg_._justifyContent_right_gos4s_gg_.__changeSortSize_gos4s_gg_.__isSorted_gos4s_gg_ .___SSortWrapper_gos4s_gg_,.___SColumn_gos4s_gg_._use_secondary_gos4s_gg_._justifyContent_right_gos4s_gg_.__changeSortSize_gos4s_gg_.__isSorted_gos4s_gg_ .___SSortWrapper_gos4s_gg_{position:relative}.___SColumn_gos4s_gg_._use_secondary_gos4s_gg_{padding:var(--intergalactic-spacing-2x, 8px);border-bottom:1px solid var(--intergalactic-border-table-accent, #a9abb6);background-color:var(--intergalactic-table-th-secondary-cell, #ffffff)}.___SColumn_gos4s_gg_._use_secondary_gos4s_gg_ .___SSortWrapper_gos4s_gg_::before{background:linear-gradient(270deg,var(--intergalactic-table-th-secondary-cell, #ffffff) 67.5%,rgba(255,255,255,0) 105%)}.___SColumn_gos4s_gg_._use_secondary_gos4s_gg_.__visibleSort_gos4s_gg_ .___SSortWrapper_gos4s_gg_{flex-basis:calc(var(--intergalactic-spacing-1x, 4px) + 16px);opacity:1}.___SColumn_gos4s_gg_._use_secondary_gos4s_gg_.__visibleSort_gos4s_gg_ .___SSortButton_gos4s_gg_{display:flex;opacity:1}.___SColumn_gos4s_gg_._use_secondary_gos4s_gg_._justifyContent_right_gos4s_gg_ .___SSortWrapper_gos4s_gg_{position:absolute}.___SColumn_gos4s_gg_.__gridArea_gos4s_gg_,.___SGroupTitle_gos4s_gg_.__gridArea_gos4s_gg_,.___SGroup_gos4s_gg_.__gridArea_gos4s_gg_{grid-area:var(--gridArea_gos4s)}.___SHead_gos4s_gg_ .___SColumn_gos4s_gg_.__fixed_gos4s_gg_,.___SHead_gos4s_gg_ .___SGroup_gos4s_gg_.__fixed_gos4s_gg_,.___SHead_gos4s_gg_.__sticky_gos4s_gg_ .___SColumn_gos4s_gg_.__fixed_gos4s_gg_{position:sticky;z-index:19}@media (hover:hover){.___SColumn_gos4s_gg_.__sortable_gos4s_gg_:hover{cursor:pointer}}.___SSortWrapper_gos4s_gg_{align-items:center;display:flex;flex-shrink:1;position:relative;flex-basis:0;min-height:16px;opacity:0;transition:all calc(var(--intergalactic-duration-extra-fast, 100)*1ms) ease-in-out}.___SSortButton_gos4s_gg_,.___SSortWrapper_gos4s_gg_:before{display:none;position:absolute;right:0;opacity:0;transition:opacity .3s ease}.___SSortWrapper_gos4s_gg_:before{content:"";top:0;width:20px;height:100%}.___SSortButton_gos4s_gg_{fill:var(--intergalactic-icon-secondary-neutral-hover-active, #878992);top:calc(-1*(1em*1.25 - 16px));margin-left:var(--intergalactic-spacing-1x, 4px)}.___SHead_gos4s_gg_._sideIndents_wide_gos4s_gg_ .___SColumn_gos4s_gg_:first-child{padding-left:var(--intergalactic-spacing-5x, 20px)}.___SHead_gos4s_gg_._sideIndents_wide_gos4s_gg_ .___SColumn_gos4s_gg_:last-child{padding-right:var(--intergalactic-spacing-5x, 20px)}.___SHeadCheckboxCol_gos4s_gg_{cursor:pointer}.___SColumn_gos4s_gg_.__fixed_gos4s_gg_.__shadowVertical_gos4s_gg_:after,.___SGroup_gos4s_gg_.__fixed_gos4s_gg_.__shadowVertical_gos4s_gg_:after{content:"";position:absolute;pointer-events:none;display:none;top:0;width:5px;height:100%;z-index:5}.___SColumn_gos4s_gg_._fixed_left_gos4s_gg_._shadowVertical_median_gos4s_gg_,.___SColumn_gos4s_gg_._fixed_left_gos4s_gg_._shadowVertical_start_gos4s_gg_,.___SGroup_gos4s_gg_._fixed_left_gos4s_gg_._shadowVertical_median_gos4s_gg_,.___SGroup_gos4s_gg_._fixed_left_gos4s_gg_._shadowVertical_start_gos4s_gg_{margin-right:-5px;border-right-color:transparent}.___SColumn_gos4s_gg_._fixed_left_gos4s_gg_._shadowVertical_median_gos4s_gg_._use_primary_gos4s_gg_,.___SColumn_gos4s_gg_._fixed_left_gos4s_gg_._shadowVertical_start_gos4s_gg_._use_primary_gos4s_gg_,.___SGroup_gos4s_gg_._fixed_left_gos4s_gg_._shadowVertical_median_gos4s_gg_._use_primary_gos4s_gg_,.___SGroup_gos4s_gg_._fixed_left_gos4s_gg_._shadowVertical_start_gos4s_gg_._use_primary_gos4s_gg_{padding-right:calc(var(--intergalactic-spacing-3x, 12px) + 5px)}.___SColumn_gos4s_gg_._fixed_left_gos4s_gg_._shadowVertical_median_gos4s_gg_._use_secondary_gos4s_gg_,.___SColumn_gos4s_gg_._fixed_left_gos4s_gg_._shadowVertical_start_gos4s_gg_._use_secondary_gos4s_gg_,.___SGroup_gos4s_gg_._fixed_left_gos4s_gg_._shadowVertical_median_gos4s_gg_._use_secondary_gos4s_gg_,.___SGroup_gos4s_gg_._fixed_left_gos4s_gg_._shadowVertical_start_gos4s_gg_._use_secondary_gos4s_gg_{padding-right:calc(var(--intergalactic-spacing-2x, 8px) + 5px)}.___SColumn_gos4s_gg_._fixed_left_gos4s_gg_._shadowVertical_median_gos4s_gg_:after,.___SColumn_gos4s_gg_._fixed_left_gos4s_gg_._shadowVertical_start_gos4s_gg_:after,.___SGroup_gos4s_gg_._fixed_left_gos4s_gg_._shadowVertical_median_gos4s_gg_:after,.___SGroup_gos4s_gg_._fixed_left_gos4s_gg_._shadowVertical_start_gos4s_gg_:after{display:block;right:0;background:var(--intergalactic-scroll-area-shadow-left,\n linear-gradient(to right, rgba(25, 27, 35, 0.1) 20.55%, rgba(255, 255, 255, 0.0001) 100%))}.___SColumn_gos4s_gg_._fixed_right_gos4s_gg_._shadowVertical_end_gos4s_gg_,.___SColumn_gos4s_gg_._fixed_right_gos4s_gg_._shadowVertical_median_gos4s_gg_,.___SGroup_gos4s_gg_._fixed_right_gos4s_gg_._shadowVertical_end_gos4s_gg_,.___SGroup_gos4s_gg_._fixed_right_gos4s_gg_._shadowVertical_median_gos4s_gg_{margin-left:-5px;border-left-color:transparent}.___SColumn_gos4s_gg_._fixed_right_gos4s_gg_._shadowVertical_end_gos4s_gg_._use_primary_gos4s_gg_,.___SColumn_gos4s_gg_._fixed_right_gos4s_gg_._shadowVertical_median_gos4s_gg_._use_primary_gos4s_gg_,.___SGroup_gos4s_gg_._fixed_right_gos4s_gg_._shadowVertical_end_gos4s_gg_._use_primary_gos4s_gg_,.___SGroup_gos4s_gg_._fixed_right_gos4s_gg_._shadowVertical_median_gos4s_gg_._use_primary_gos4s_gg_{padding-left:calc(var(--intergalactic-spacing-3x, 12px) + 5px)}.___SColumn_gos4s_gg_._fixed_right_gos4s_gg_._shadowVertical_end_gos4s_gg_._use_secondary_gos4s_gg_,.___SColumn_gos4s_gg_._fixed_right_gos4s_gg_._shadowVertical_median_gos4s_gg_._use_secondary_gos4s_gg_,.___SGroup_gos4s_gg_._fixed_right_gos4s_gg_._shadowVertical_end_gos4s_gg_._use_secondary_gos4s_gg_,.___SGroup_gos4s_gg_._fixed_right_gos4s_gg_._shadowVertical_median_gos4s_gg_._use_secondary_gos4s_gg_{padding-left:calc(var(--intergalactic-spacing-2x, 8px) + 5px)}.___SColumn_gos4s_gg_._fixed_right_gos4s_gg_._shadowVertical_end_gos4s_gg_:after,.___SColumn_gos4s_gg_._fixed_right_gos4s_gg_._shadowVertical_median_gos4s_gg_:after,.___SGroup_gos4s_gg_._fixed_right_gos4s_gg_._shadowVertical_end_gos4s_gg_:after,.___SGroup_gos4s_gg_._fixed_right_gos4s_gg_._shadowVertical_median_gos4s_gg_:after{display:block;left:0;background:var(--intergalactic-scroll-area-shadow-right,\n linear-gradient(to left, rgba(25, 27, 35, 0.1) 20.55%, rgba(255, 255, 255, 0.0001) 100%))}',
|
|
19
19
|
/*__inner_css_end__*/
|
|
20
|
-
"
|
|
20
|
+
"gos4s_gg_"
|
|
21
21
|
), /*__reshadow_css_end__*/
|
|
22
22
|
{
|
|
23
|
-
"__SHead": "
|
|
24
|
-
"__SGroupContainer": "
|
|
25
|
-
"_isDataEmpty": "
|
|
26
|
-
"_gridTemplateColumns": "
|
|
27
|
-
"--gridTemplateColumns": "--
|
|
28
|
-
"_animationDuration": "
|
|
29
|
-
"__SColumn": "
|
|
30
|
-
"--animationDuration": "--
|
|
31
|
-
"_sticky": "
|
|
32
|
-
"__SGroup": "
|
|
33
|
-
"_compact": "
|
|
34
|
-
"_use_secondary": "
|
|
35
|
-
"_borders_both": "
|
|
36
|
-
"_borders_left": "
|
|
37
|
-
"_borders_right": "
|
|
38
|
-
"_gridArea": "
|
|
39
|
-
"__SGroupTitle": "
|
|
40
|
-
"--gridArea": "--
|
|
41
|
-
"_fixed": "
|
|
42
|
-
"_sortable": "
|
|
43
|
-
"__SSortWrapper": "
|
|
44
|
-
"__SSortButton": "
|
|
45
|
-
"__SHeadCheckboxCol": "
|
|
46
|
-
"_use_primary": "
|
|
47
|
-
"_visibleSort": "
|
|
48
|
-
"_justifyContent_right": "
|
|
49
|
-
"_changeSortSize": "
|
|
50
|
-
"_isSorted": "
|
|
51
|
-
"_sideIndents_wide": "
|
|
52
|
-
"_shadowVertical": "
|
|
53
|
-
"_fixed_left": "
|
|
54
|
-
"_shadowVertical_median": "
|
|
55
|
-
"_shadowVertical_start": "
|
|
56
|
-
"_fixed_right": "
|
|
57
|
-
"_shadowVertical_end": "
|
|
23
|
+
"__SHead": "___SHead_gos4s_gg_",
|
|
24
|
+
"__SGroupContainer": "___SGroupContainer_gos4s_gg_",
|
|
25
|
+
"_isDataEmpty": "__isDataEmpty_gos4s_gg_",
|
|
26
|
+
"_gridTemplateColumns": "__gridTemplateColumns_gos4s_gg_",
|
|
27
|
+
"--gridTemplateColumns": "--gridTemplateColumns_gos4s",
|
|
28
|
+
"_animationDuration": "__animationDuration_gos4s_gg_",
|
|
29
|
+
"__SColumn": "___SColumn_gos4s_gg_",
|
|
30
|
+
"--animationDuration": "--animationDuration_gos4s",
|
|
31
|
+
"_sticky": "__sticky_gos4s_gg_",
|
|
32
|
+
"__SGroup": "___SGroup_gos4s_gg_",
|
|
33
|
+
"_compact": "__compact_gos4s_gg_",
|
|
34
|
+
"_use_secondary": "_use_secondary_gos4s_gg_",
|
|
35
|
+
"_borders_both": "_borders_both_gos4s_gg_",
|
|
36
|
+
"_borders_left": "_borders_left_gos4s_gg_",
|
|
37
|
+
"_borders_right": "_borders_right_gos4s_gg_",
|
|
38
|
+
"_gridArea": "__gridArea_gos4s_gg_",
|
|
39
|
+
"__SGroupTitle": "___SGroupTitle_gos4s_gg_",
|
|
40
|
+
"--gridArea": "--gridArea_gos4s",
|
|
41
|
+
"_fixed": "__fixed_gos4s_gg_",
|
|
42
|
+
"_sortable": "__sortable_gos4s_gg_",
|
|
43
|
+
"__SSortWrapper": "___SSortWrapper_gos4s_gg_",
|
|
44
|
+
"__SSortButton": "___SSortButton_gos4s_gg_",
|
|
45
|
+
"__SHeadCheckboxCol": "___SHeadCheckboxCol_gos4s_gg_",
|
|
46
|
+
"_use_primary": "_use_primary_gos4s_gg_",
|
|
47
|
+
"_visibleSort": "__visibleSort_gos4s_gg_",
|
|
48
|
+
"_justifyContent_right": "_justifyContent_right_gos4s_gg_",
|
|
49
|
+
"_changeSortSize": "__changeSortSize_gos4s_gg_",
|
|
50
|
+
"_isSorted": "__isSorted_gos4s_gg_",
|
|
51
|
+
"_sideIndents_wide": "_sideIndents_wide_gos4s_gg_",
|
|
52
|
+
"_shadowVertical": "__shadowVertical_gos4s_gg_",
|
|
53
|
+
"_fixed_left": "_fixed_left_gos4s_gg_",
|
|
54
|
+
"_shadowVertical_median": "_shadowVertical_median_gos4s_gg_",
|
|
55
|
+
"_shadowVertical_start": "_shadowVertical_start_gos4s_gg_",
|
|
56
|
+
"_fixed_right": "_fixed_right_gos4s_gg_",
|
|
57
|
+
"_shadowVertical_end": "_shadowVertical_end_gos4s_gg_"
|
|
58
58
|
})
|
|
59
59
|
);
|
|
60
60
|
var Group = /* @__PURE__ */ (function(_Component) {
|
|
@@ -18,46 +18,46 @@ var style = (
|
|
|
18
18
|
/*__reshadow_css_start__*/
|
|
19
19
|
(sstyled.insert(
|
|
20
20
|
/*__inner_css_start__*/
|
|
21
|
-
'.
|
|
21
|
+
'.___SGroupContainer_gos4s_gg_,.___SHead_gos4s_gg_{display:contents}.___SHead_gos4s_gg_.__isDataEmpty_gos4s_gg_.__gridTemplateColumns_gos4s_gg_{display:grid;grid-template-columns:var(--gridTemplateColumns_gos4s);overflow:auto;scrollbar-width:thin}.___SHead_gos4s_gg_.__animationDuration_gos4s_gg_>.___SColumn_gos4s_gg_{transition:top var(--animationDuration_gos4s) ease-out}.___SHead_gos4s_gg_.__sticky_gos4s_gg_ .___SColumn_gos4s_gg_,.___SHead_gos4s_gg_.__sticky_gos4s_gg_ .___SGroup_gos4s_gg_{position:sticky;top:0;z-index:18}.___SHead_gos4s_gg_.__sticky_gos4s_gg_ .___SGroupContainer_gos4s_gg_>.___SColumn_gos4s_gg_{position:sticky;z-index:18}.___SHead_gos4s_gg_.__compact_gos4s_gg_ .___SColumn_gos4s_gg_{padding:var(--intergalactic-spacing-3x, 12px) var(--intergalactic-spacing-2x, 8px)}.___SColumn_gos4s_gg_,.___SGroup_gos4s_gg_{display:flex;align-items:flex-start;font-size:var(--intergalactic-fs-100, 12px);color:var(--intergalactic-text-primary, #191b23);box-sizing:border-box;height:100%;position:relative;transition:width calc(var(--intergalactic-duration-extra-fast, 100)*1ms) ease-in-out,min-width calc(var(--intergalactic-duration-extra-fast, 100)*1ms) ease-in-out,max-width calc(var(--intergalactic-duration-extra-fast, 100)*1ms) ease-in-out;overflow:hidden;line-height:var(--intergalactic-lh-100, 133%)}.___SGroup_gos4s_gg_{justify-content:center;text-align:center;background-color:var(--intergalactic-table-th-primary-cell, #f4f5f9)}.___SGroup_gos4s_gg_._use_primary_gos4s_gg_{padding:var(--intergalactic-spacing-3x, 12px)}.___SGroup_gos4s_gg_._use_primary_gos4s_gg_:has(~.___SColumn_gos4s_gg_.__visibleSort_gos4s_gg_){background-color:var(--intergalactic-table-th-primary-cell-hover, #e0e1e9)}.___SGroup_gos4s_gg_._use_secondary_gos4s_gg_{padding:var(--intergalactic-spacing-2x, 8px)}.___SColumn_gos4s_gg_._borders_both_gos4s_gg_,.___SColumn_gos4s_gg_._borders_left_gos4s_gg_,.___SGroup_gos4s_gg_._borders_both_gos4s_gg_,.___SGroup_gos4s_gg_._borders_left_gos4s_gg_{border-left:1px solid var(--intergalactic-border-secondary, #e0e1e9)}.___SColumn_gos4s_gg_._borders_both_gos4s_gg_,.___SColumn_gos4s_gg_._borders_right_gos4s_gg_,.___SGroup_gos4s_gg_._borders_both_gos4s_gg_,.___SGroup_gos4s_gg_._borders_right_gos4s_gg_{border-right:1px solid var(--intergalactic-border-secondary, #e0e1e9)}.___SColumn_gos4s_gg_._use_primary_gos4s_gg_{padding:var(--intergalactic-spacing-3x, 12px);border-bottom:1px solid var(--intergalactic-border-secondary, #e0e1e9);background-color:var(--intergalactic-table-th-primary-cell, #f4f5f9)}.___SColumn_gos4s_gg_._use_primary_gos4s_gg_ .___SSortWrapper_gos4s_gg_::before{background:linear-gradient(270deg,var(--intergalactic-table-th-primary-cell-hover, #e0e1e9) 67.5%,rgba(224,225,233,0) 105%)}.___SColumn_gos4s_gg_._use_primary_gos4s_gg_.__visibleSort_gos4s_gg_{background-color:var(--intergalactic-table-th-primary-cell-hover, #e0e1e9)}.___SColumn_gos4s_gg_._use_primary_gos4s_gg_.__visibleSort_gos4s_gg_ .___SSortWrapper_gos4s_gg_{flex-basis:calc(var(--intergalactic-spacing-1x, 4px) + 16px);opacity:1}.___SColumn_gos4s_gg_._use_primary_gos4s_gg_.__visibleSort_gos4s_gg_ .___SSortButton_gos4s_gg_,.___SColumn_gos4s_gg_._use_primary_gos4s_gg_.__visibleSort_gos4s_gg_ .___SSortWrapper_gos4s_gg_::before,.___SColumn_gos4s_gg_._use_secondary_gos4s_gg_.__visibleSort_gos4s_gg_ .___SSortWrapper_gos4s_gg_::before{display:flex;opacity:1}.___SColumn_gos4s_gg_._use_primary_gos4s_gg_._justifyContent_right_gos4s_gg_ .___SSortWrapper_gos4s_gg_{position:absolute}.___SColumn_gos4s_gg_._use_primary_gos4s_gg_._justifyContent_right_gos4s_gg_.__changeSortSize_gos4s_gg_.__isSorted_gos4s_gg_ .___SSortWrapper_gos4s_gg_,.___SColumn_gos4s_gg_._use_secondary_gos4s_gg_._justifyContent_right_gos4s_gg_.__changeSortSize_gos4s_gg_.__isSorted_gos4s_gg_ .___SSortWrapper_gos4s_gg_{position:relative}.___SColumn_gos4s_gg_._use_secondary_gos4s_gg_{padding:var(--intergalactic-spacing-2x, 8px);border-bottom:1px solid var(--intergalactic-border-table-accent, #a9abb6);background-color:var(--intergalactic-table-th-secondary-cell, #ffffff)}.___SColumn_gos4s_gg_._use_secondary_gos4s_gg_ .___SSortWrapper_gos4s_gg_::before{background:linear-gradient(270deg,var(--intergalactic-table-th-secondary-cell, #ffffff) 67.5%,rgba(255,255,255,0) 105%)}.___SColumn_gos4s_gg_._use_secondary_gos4s_gg_.__visibleSort_gos4s_gg_ .___SSortWrapper_gos4s_gg_{flex-basis:calc(var(--intergalactic-spacing-1x, 4px) + 16px);opacity:1}.___SColumn_gos4s_gg_._use_secondary_gos4s_gg_.__visibleSort_gos4s_gg_ .___SSortButton_gos4s_gg_{display:flex;opacity:1}.___SColumn_gos4s_gg_._use_secondary_gos4s_gg_._justifyContent_right_gos4s_gg_ .___SSortWrapper_gos4s_gg_{position:absolute}.___SColumn_gos4s_gg_.__gridArea_gos4s_gg_,.___SGroupTitle_gos4s_gg_.__gridArea_gos4s_gg_,.___SGroup_gos4s_gg_.__gridArea_gos4s_gg_{grid-area:var(--gridArea_gos4s)}.___SHead_gos4s_gg_ .___SColumn_gos4s_gg_.__fixed_gos4s_gg_,.___SHead_gos4s_gg_ .___SGroup_gos4s_gg_.__fixed_gos4s_gg_,.___SHead_gos4s_gg_.__sticky_gos4s_gg_ .___SColumn_gos4s_gg_.__fixed_gos4s_gg_{position:sticky;z-index:19}@media (hover:hover){.___SColumn_gos4s_gg_.__sortable_gos4s_gg_:hover{cursor:pointer}}.___SSortWrapper_gos4s_gg_{align-items:center;display:flex;flex-shrink:1;position:relative;flex-basis:0;min-height:16px;opacity:0;transition:all calc(var(--intergalactic-duration-extra-fast, 100)*1ms) ease-in-out}.___SSortButton_gos4s_gg_,.___SSortWrapper_gos4s_gg_:before{display:none;position:absolute;right:0;opacity:0;transition:opacity .3s ease}.___SSortWrapper_gos4s_gg_:before{content:"";top:0;width:20px;height:100%}.___SSortButton_gos4s_gg_{fill:var(--intergalactic-icon-secondary-neutral-hover-active, #878992);top:calc(-1*(1em*1.25 - 16px));margin-left:var(--intergalactic-spacing-1x, 4px)}.___SHead_gos4s_gg_._sideIndents_wide_gos4s_gg_ .___SColumn_gos4s_gg_:first-child{padding-left:var(--intergalactic-spacing-5x, 20px)}.___SHead_gos4s_gg_._sideIndents_wide_gos4s_gg_ .___SColumn_gos4s_gg_:last-child{padding-right:var(--intergalactic-spacing-5x, 20px)}.___SHeadCheckboxCol_gos4s_gg_{cursor:pointer}.___SColumn_gos4s_gg_.__fixed_gos4s_gg_.__shadowVertical_gos4s_gg_:after,.___SGroup_gos4s_gg_.__fixed_gos4s_gg_.__shadowVertical_gos4s_gg_:after{content:"";position:absolute;pointer-events:none;display:none;top:0;width:5px;height:100%;z-index:5}.___SColumn_gos4s_gg_._fixed_left_gos4s_gg_._shadowVertical_median_gos4s_gg_,.___SColumn_gos4s_gg_._fixed_left_gos4s_gg_._shadowVertical_start_gos4s_gg_,.___SGroup_gos4s_gg_._fixed_left_gos4s_gg_._shadowVertical_median_gos4s_gg_,.___SGroup_gos4s_gg_._fixed_left_gos4s_gg_._shadowVertical_start_gos4s_gg_{margin-right:-5px;border-right-color:transparent}.___SColumn_gos4s_gg_._fixed_left_gos4s_gg_._shadowVertical_median_gos4s_gg_._use_primary_gos4s_gg_,.___SColumn_gos4s_gg_._fixed_left_gos4s_gg_._shadowVertical_start_gos4s_gg_._use_primary_gos4s_gg_,.___SGroup_gos4s_gg_._fixed_left_gos4s_gg_._shadowVertical_median_gos4s_gg_._use_primary_gos4s_gg_,.___SGroup_gos4s_gg_._fixed_left_gos4s_gg_._shadowVertical_start_gos4s_gg_._use_primary_gos4s_gg_{padding-right:calc(var(--intergalactic-spacing-3x, 12px) + 5px)}.___SColumn_gos4s_gg_._fixed_left_gos4s_gg_._shadowVertical_median_gos4s_gg_._use_secondary_gos4s_gg_,.___SColumn_gos4s_gg_._fixed_left_gos4s_gg_._shadowVertical_start_gos4s_gg_._use_secondary_gos4s_gg_,.___SGroup_gos4s_gg_._fixed_left_gos4s_gg_._shadowVertical_median_gos4s_gg_._use_secondary_gos4s_gg_,.___SGroup_gos4s_gg_._fixed_left_gos4s_gg_._shadowVertical_start_gos4s_gg_._use_secondary_gos4s_gg_{padding-right:calc(var(--intergalactic-spacing-2x, 8px) + 5px)}.___SColumn_gos4s_gg_._fixed_left_gos4s_gg_._shadowVertical_median_gos4s_gg_:after,.___SColumn_gos4s_gg_._fixed_left_gos4s_gg_._shadowVertical_start_gos4s_gg_:after,.___SGroup_gos4s_gg_._fixed_left_gos4s_gg_._shadowVertical_median_gos4s_gg_:after,.___SGroup_gos4s_gg_._fixed_left_gos4s_gg_._shadowVertical_start_gos4s_gg_:after{display:block;right:0;background:var(--intergalactic-scroll-area-shadow-left,\n linear-gradient(to right, rgba(25, 27, 35, 0.1) 20.55%, rgba(255, 255, 255, 0.0001) 100%))}.___SColumn_gos4s_gg_._fixed_right_gos4s_gg_._shadowVertical_end_gos4s_gg_,.___SColumn_gos4s_gg_._fixed_right_gos4s_gg_._shadowVertical_median_gos4s_gg_,.___SGroup_gos4s_gg_._fixed_right_gos4s_gg_._shadowVertical_end_gos4s_gg_,.___SGroup_gos4s_gg_._fixed_right_gos4s_gg_._shadowVertical_median_gos4s_gg_{margin-left:-5px;border-left-color:transparent}.___SColumn_gos4s_gg_._fixed_right_gos4s_gg_._shadowVertical_end_gos4s_gg_._use_primary_gos4s_gg_,.___SColumn_gos4s_gg_._fixed_right_gos4s_gg_._shadowVertical_median_gos4s_gg_._use_primary_gos4s_gg_,.___SGroup_gos4s_gg_._fixed_right_gos4s_gg_._shadowVertical_end_gos4s_gg_._use_primary_gos4s_gg_,.___SGroup_gos4s_gg_._fixed_right_gos4s_gg_._shadowVertical_median_gos4s_gg_._use_primary_gos4s_gg_{padding-left:calc(var(--intergalactic-spacing-3x, 12px) + 5px)}.___SColumn_gos4s_gg_._fixed_right_gos4s_gg_._shadowVertical_end_gos4s_gg_._use_secondary_gos4s_gg_,.___SColumn_gos4s_gg_._fixed_right_gos4s_gg_._shadowVertical_median_gos4s_gg_._use_secondary_gos4s_gg_,.___SGroup_gos4s_gg_._fixed_right_gos4s_gg_._shadowVertical_end_gos4s_gg_._use_secondary_gos4s_gg_,.___SGroup_gos4s_gg_._fixed_right_gos4s_gg_._shadowVertical_median_gos4s_gg_._use_secondary_gos4s_gg_{padding-left:calc(var(--intergalactic-spacing-2x, 8px) + 5px)}.___SColumn_gos4s_gg_._fixed_right_gos4s_gg_._shadowVertical_end_gos4s_gg_:after,.___SColumn_gos4s_gg_._fixed_right_gos4s_gg_._shadowVertical_median_gos4s_gg_:after,.___SGroup_gos4s_gg_._fixed_right_gos4s_gg_._shadowVertical_end_gos4s_gg_:after,.___SGroup_gos4s_gg_._fixed_right_gos4s_gg_._shadowVertical_median_gos4s_gg_:after{display:block;left:0;background:var(--intergalactic-scroll-area-shadow-right,\n linear-gradient(to left, rgba(25, 27, 35, 0.1) 20.55%, rgba(255, 255, 255, 0.0001) 100%))}',
|
|
22
22
|
/*__inner_css_end__*/
|
|
23
|
-
"
|
|
23
|
+
"gos4s_gg_"
|
|
24
24
|
), /*__reshadow_css_end__*/
|
|
25
25
|
{
|
|
26
|
-
"__SHead": "
|
|
27
|
-
"__SGroupContainer": "
|
|
28
|
-
"_isDataEmpty": "
|
|
29
|
-
"_gridTemplateColumns": "
|
|
30
|
-
"--gridTemplateColumns": "--
|
|
31
|
-
"_animationDuration": "
|
|
32
|
-
"__SColumn": "
|
|
33
|
-
"--animationDuration": "--
|
|
34
|
-
"_sticky": "
|
|
35
|
-
"__SGroup": "
|
|
36
|
-
"_compact": "
|
|
37
|
-
"_use_secondary": "
|
|
38
|
-
"_borders_both": "
|
|
39
|
-
"_borders_left": "
|
|
40
|
-
"_borders_right": "
|
|
41
|
-
"_gridArea": "
|
|
42
|
-
"__SGroupTitle": "
|
|
43
|
-
"--gridArea": "--
|
|
44
|
-
"_fixed": "
|
|
45
|
-
"_sortable": "
|
|
46
|
-
"__SSortWrapper": "
|
|
47
|
-
"__SSortButton": "
|
|
48
|
-
"__SHeadCheckboxCol": "
|
|
49
|
-
"_use_primary": "
|
|
50
|
-
"_visibleSort": "
|
|
51
|
-
"_justifyContent_right": "
|
|
52
|
-
"_changeSortSize": "
|
|
53
|
-
"_isSorted": "
|
|
54
|
-
"_sideIndents_wide": "
|
|
55
|
-
"_shadowVertical": "
|
|
56
|
-
"_fixed_left": "
|
|
57
|
-
"_shadowVertical_median": "
|
|
58
|
-
"_shadowVertical_start": "
|
|
59
|
-
"_fixed_right": "
|
|
60
|
-
"_shadowVertical_end": "
|
|
26
|
+
"__SHead": "___SHead_gos4s_gg_",
|
|
27
|
+
"__SGroupContainer": "___SGroupContainer_gos4s_gg_",
|
|
28
|
+
"_isDataEmpty": "__isDataEmpty_gos4s_gg_",
|
|
29
|
+
"_gridTemplateColumns": "__gridTemplateColumns_gos4s_gg_",
|
|
30
|
+
"--gridTemplateColumns": "--gridTemplateColumns_gos4s",
|
|
31
|
+
"_animationDuration": "__animationDuration_gos4s_gg_",
|
|
32
|
+
"__SColumn": "___SColumn_gos4s_gg_",
|
|
33
|
+
"--animationDuration": "--animationDuration_gos4s",
|
|
34
|
+
"_sticky": "__sticky_gos4s_gg_",
|
|
35
|
+
"__SGroup": "___SGroup_gos4s_gg_",
|
|
36
|
+
"_compact": "__compact_gos4s_gg_",
|
|
37
|
+
"_use_secondary": "_use_secondary_gos4s_gg_",
|
|
38
|
+
"_borders_both": "_borders_both_gos4s_gg_",
|
|
39
|
+
"_borders_left": "_borders_left_gos4s_gg_",
|
|
40
|
+
"_borders_right": "_borders_right_gos4s_gg_",
|
|
41
|
+
"_gridArea": "__gridArea_gos4s_gg_",
|
|
42
|
+
"__SGroupTitle": "___SGroupTitle_gos4s_gg_",
|
|
43
|
+
"--gridArea": "--gridArea_gos4s",
|
|
44
|
+
"_fixed": "__fixed_gos4s_gg_",
|
|
45
|
+
"_sortable": "__sortable_gos4s_gg_",
|
|
46
|
+
"__SSortWrapper": "___SSortWrapper_gos4s_gg_",
|
|
47
|
+
"__SSortButton": "___SSortButton_gos4s_gg_",
|
|
48
|
+
"__SHeadCheckboxCol": "___SHeadCheckboxCol_gos4s_gg_",
|
|
49
|
+
"_use_primary": "_use_primary_gos4s_gg_",
|
|
50
|
+
"_visibleSort": "__visibleSort_gos4s_gg_",
|
|
51
|
+
"_justifyContent_right": "_justifyContent_right_gos4s_gg_",
|
|
52
|
+
"_changeSortSize": "__changeSortSize_gos4s_gg_",
|
|
53
|
+
"_isSorted": "__isSorted_gos4s_gg_",
|
|
54
|
+
"_sideIndents_wide": "_sideIndents_wide_gos4s_gg_",
|
|
55
|
+
"_shadowVertical": "__shadowVertical_gos4s_gg_",
|
|
56
|
+
"_fixed_left": "_fixed_left_gos4s_gg_",
|
|
57
|
+
"_shadowVertical_median": "_shadowVertical_median_gos4s_gg_",
|
|
58
|
+
"_shadowVertical_start": "_shadowVertical_start_gos4s_gg_",
|
|
59
|
+
"_fixed_right": "_fixed_right_gos4s_gg_",
|
|
60
|
+
"_shadowVertical_end": "_shadowVertical_end_gos4s_gg_"
|
|
61
61
|
})
|
|
62
62
|
);
|
|
63
63
|
var HeadRoot = /* @__PURE__ */ (function(_Component) {
|
|
@@ -26,6 +26,7 @@ export declare class RowRoot<Data extends DataTableData, UniqKeyType> extends Co
|
|
|
26
26
|
componentDidMount(): void;
|
|
27
27
|
componentDidUpdate(prevProps: DataTableRowProps<Data, UniqKeyType>): void;
|
|
28
28
|
componentWillUnmount(): void;
|
|
29
|
+
setAccordion(): void;
|
|
29
30
|
cellHasAccordion(cellValue?: DTValue | MergedColumnsCell | MergedRowsCell): cellValue is DTValue;
|
|
30
31
|
handleSelectRow: (value: boolean, event?: React.SyntheticEvent<HTMLElement>) => void;
|
|
31
32
|
handleClickCheckbox: (value: boolean) => (event?: React.SyntheticEvent<HTMLElement>) => void;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@semcore/data-table",
|
|
3
3
|
"description": "Semrush DataTable Component",
|
|
4
|
-
"version": "16.4.
|
|
4
|
+
"version": "16.4.3",
|
|
5
5
|
"main": "lib/cjs/index.js",
|
|
6
6
|
"module": "lib/es6/index.js",
|
|
7
7
|
"typings": "lib/types/index.d.ts",
|
|
@@ -32,12 +32,12 @@
|
|
|
32
32
|
"@semcore/dropdown-menu": "16.1.12",
|
|
33
33
|
"@semcore/accordion": "16.7.1",
|
|
34
34
|
"@semcore/divider": "16.0.11",
|
|
35
|
-
"@semcore/portal": "16.0.11",
|
|
36
|
-
"@semcore/progress-bar": "16.0.11",
|
|
37
35
|
"@semcore/skeleton": "16.0.11",
|
|
36
|
+
"@semcore/progress-bar": "16.0.11",
|
|
37
|
+
"@semcore/portal": "16.0.11",
|
|
38
|
+
"@semcore/spin": "16.0.11",
|
|
38
39
|
"@semcore/spin-container": "16.0.11",
|
|
39
40
|
"@semcore/tooltip": "16.0.11",
|
|
40
|
-
"@semcore/spin": "16.0.11",
|
|
41
41
|
"@semcore/base-components": "16.4.1"
|
|
42
42
|
},
|
|
43
43
|
"peerDependencies": {
|