@luscii-healthtech/web-ui 0.7.1 → 0.7.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.
@@ -10,6 +10,7 @@ export interface TableFieldConfig<Item> {
10
10
  export declare type TableFieldContent<Item> = TableFieldText | [TableFieldAction<Item>?, TableFieldAction<Item>?];
11
11
  export interface TableFieldText {
12
12
  text: string;
13
+ breakAllWord?: boolean;
13
14
  tag?: {
14
15
  text: string;
15
16
  color: TagColorTheme;
@@ -2098,7 +2098,10 @@ function TableBodyRowDataCell(props) {
2098
2098
  text: content.tag.text,
2099
2099
  colorTheme: content.tag.color
2100
2100
  })), /*#__PURE__*/React__default.createElement(Text, {
2101
- className: "py-4 leading-5 text-left break-all",
2101
+ className: classNames("py-4 text-left leading-5", {
2102
+ "break-all": content.breakAllWord,
2103
+ "break-words": !content.breakAllWord
2104
+ }),
2102
2105
  text: content.text === "" ? emptyFieldContentText : content.text,
2103
2106
  type: "base"
2104
2107
  })), isTableFieldAction(content) && /*#__PURE__*/React__default.createElement("div", {