@true-engineering/true-react-common-ui-kit 3.0.0-alpha.10 → 3.0.0-alpha.11
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.
|
@@ -22353,7 +22353,7 @@ function FlexibleTable(param) {
|
|
|
22353
22353
|
className: clsx(_define_property$g({}, classes.scroll, isHorizontallyScrollable))
|
|
22354
22354
|
}, addDataAttributes({
|
|
22355
22355
|
scrolled: isHorizontallyScrolled ? true : void 0,
|
|
22356
|
-
scrollable: isHorizontallyScrollable && hasHorizontalScrollBar(ref.current)
|
|
22356
|
+
scrollable: isHorizontallyScrollable && hasHorizontalScrollBar(ref.current) ? true : void 0
|
|
22357
22357
|
})), {
|
|
22358
22358
|
children: /* @__PURE__ */ jsxs("table", _object_spread_props$e(_object_spread$f({
|
|
22359
22359
|
className: classes.root
|
|
@@ -22343,7 +22343,7 @@
|
|
|
22343
22343
|
className: clsx(_define_property$g({}, classes.scroll, isHorizontallyScrollable))
|
|
22344
22344
|
}, addDataAttributes({
|
|
22345
22345
|
scrolled: isHorizontallyScrolled ? true : void 0,
|
|
22346
|
-
scrollable: isHorizontallyScrollable && hasHorizontalScrollBar(ref.current)
|
|
22346
|
+
scrollable: isHorizontallyScrollable && hasHorizontalScrollBar(ref.current) ? true : void 0
|
|
22347
22347
|
})), {
|
|
22348
22348
|
children: /* @__PURE__ */ jsxs("table", _object_spread_props$e(_object_spread$f({
|
|
22349
22349
|
className: classes.root
|
package/package.json
CHANGED
|
@@ -120,7 +120,8 @@ export function FlexibleTable<Values extends Record<string, any>>({
|
|
|
120
120
|
className={clsx({ [classes.scroll]: isHorizontallyScrollable })}
|
|
121
121
|
{...addDataAttributes({
|
|
122
122
|
scrolled: isHorizontallyScrolled ? true : undefined,
|
|
123
|
-
scrollable:
|
|
123
|
+
scrollable:
|
|
124
|
+
isHorizontallyScrollable && hasHorizontalScrollBar(ref.current) ? true : undefined,
|
|
124
125
|
})}
|
|
125
126
|
>
|
|
126
127
|
<table className={classes.root} {...addDataTestId(testId)} {...addDataAttributes(data)}>
|