@stackone/malachite 0.33.1 → 0.33.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/index.d.ts CHANGED
@@ -775,6 +775,8 @@ export declare interface MalachiteTheme {
775
775
  primary: string;
776
776
  secondary: string;
777
777
  dimmed: string;
778
+ emphasis: string;
779
+ muted: string;
778
780
  placeholder: string;
779
781
  destructive: string;
780
782
  success: string;
@@ -1100,13 +1102,14 @@ export declare interface TabItem {
1100
1102
  disabled?: boolean;
1101
1103
  }
1102
1104
 
1103
- export declare const Table: <T = Record<string, unknown>>({ columns, data, loading, error, errorTitle, errorSubTitle, bordered, showHeader, rowKey, scrollHeight, size, layout, headerVariant, rowClassName, rowVariant, onRow, onClickRow, rowSelection, pagination, className, style, stickyHeaderTop, }: TableProps<T>) => JSX_2.Element;
1105
+ export declare const Table: <T = Record<string, unknown>>({ columns, data, loading, error, errorTitle, errorSubTitle, bordered, showHeader, rowKey, scrollHeight, size, layout, headerVariant, rowClassName, rowVariant, onRow, onClickRow, rowSelection, pagination, className, style, stickyHeaderTop, scrollX, }: TableProps<T>) => JSX_2.Element;
1104
1106
 
1105
1107
  export declare type TableColumnDefinition<T = Record<string, unknown>> = {
1106
1108
  title: string | default_2.ReactNode;
1107
1109
  dataIndex: keyof T | (string & {});
1108
1110
  key: string;
1109
1111
  width?: string | number;
1112
+ minWidth?: number;
1110
1113
  ellipsis?: boolean;
1111
1114
  render?: (value: unknown, record?: T, index?: number) => default_2.ReactNode;
1112
1115
  sorter?: boolean | ((a: T, b: T) => number);
@@ -1165,6 +1168,7 @@ declare type TableProps<T = Record<string, unknown>> = {
1165
1168
  * page-level scroll container with other sticky elements (e.g. tabs + toolbar)
1166
1169
  * stacked above. */
1167
1170
  stickyHeaderTop?: number;
1171
+ scrollX?: boolean;
1168
1172
  };
1169
1173
 
1170
1174
  declare type TableRowActions<T = Record<string, unknown>> = {
@@ -1268,7 +1272,7 @@ declare interface TextAreaProps {
1268
1272
 
1269
1273
  declare type TextAreaSize = 'small' | 'medium' | 'large';
1270
1274
 
1271
- declare type TextColor = 'primary' | 'secondary' | 'dimmed' | 'destructive' | 'success' | 'warning' | 'error' | 'link';
1275
+ declare type TextColor = 'primary' | 'secondary' | 'dimmed' | 'emphasis' | 'muted' | 'destructive' | 'success' | 'warning' | 'error' | 'link';
1272
1276
 
1273
1277
  declare interface TextProps {
1274
1278
  color?: TextColor;