fui-material 2.6.2 → 2.6.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/dist/f-ui-kit.es.js
CHANGED
|
@@ -845,6 +845,8 @@ const FTable = ({
|
|
|
845
845
|
// По умолчанию вертикальное переполнение автоматическое
|
|
846
846
|
isSticky = true,
|
|
847
847
|
// По умолчанию заголовок не "липкий"
|
|
848
|
+
layout = "auto",
|
|
849
|
+
// Добавляем новый пропс с дефолтным значением 'auto'
|
|
848
850
|
...props
|
|
849
851
|
}) => {
|
|
850
852
|
const tableWrapperRef = useRef(null);
|
|
@@ -875,7 +877,7 @@ const FTable = ({
|
|
|
875
877
|
children: /* @__PURE__ */ jsx(
|
|
876
878
|
"table",
|
|
877
879
|
{
|
|
878
|
-
style: st,
|
|
880
|
+
style: { ...st, tableLayout: layout },
|
|
879
881
|
...props,
|
|
880
882
|
className: `table ${styles$s["f-table-component__table"]} ${styles$s["bordered"]} ${styles$s["bordered-half"]} ${props.className || ""}`,
|
|
881
883
|
children: React.Children.map(children, (child) => {
|