@ssa-ui-kit/core 2.20.0 → 2.20.2

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.
@@ -1,3 +1,4 @@
1
- import { PropsWithChildren } from 'react';
1
+ import { PropsWithChildren, TableHTMLAttributes } from 'react';
2
+ import { CommonProps } from '../../../types/emotion';
2
3
  import { NestedTableContextType } from '../types';
3
- export declare const NestedTable: ({ children, ...rest }: PropsWithChildren & NestedTableContextType) => import("@emotion/react/jsx-runtime").JSX.Element;
4
+ export declare const NestedTable: ({ children, collapsedIconName, expandedIconName, ...rest }: PropsWithChildren & NestedTableContextType & CommonProps & TableHTMLAttributes<HTMLTableElement>) => import("@emotion/react/jsx-runtime").JSX.Element;
package/dist/index.js CHANGED
@@ -17009,11 +17009,15 @@ const NestedTableProvider = ({
17009
17009
 
17010
17010
  const NestedTable = ({
17011
17011
  children,
17012
+ collapsedIconName,
17013
+ expandedIconName,
17012
17014
  ...rest
17013
17015
  }) => {
17014
17016
  return (0,jsx_runtime_namespaceObject.jsx)(NestedTableProvider, {
17015
- ...rest,
17017
+ collapsedIconName: collapsedIconName,
17018
+ expandedIconName: expandedIconName,
17016
17019
  children: (0,jsx_runtime_namespaceObject.jsx)(Table_Table, {
17020
+ ...rest,
17017
17021
  children: children
17018
17022
  })
17019
17023
  });
@@ -17168,7 +17172,10 @@ const NestedTableRow = ({
17168
17172
  setIsCollapsed
17169
17173
  } = useNestedTableRowContext();
17170
17174
  const headerCSS = isSubHeader ? {
17171
- background: theme.colors.greyLighter60
17175
+ background: theme.colors.greyLighter60,
17176
+ '& td': {
17177
+ fontWeight: 700
17178
+ }
17172
17179
  } : {
17173
17180
  background: theme.colors.white
17174
17181
  };