@agilant/toga-blox 1.0.221 → 1.0.222

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.
@@ -40,10 +40,9 @@ const TableCell = ({ cell, isLastCell, expanded, onToggle, maxCharacters = DEFAU
40
40
  }, [needsToggle, onCellOverflow]);
41
41
  return (_jsx("td", { ...safeCellProps, className: isStickyColumn ? undefined : isLastCell ? "" : baseTd, children: _jsx("div", { className: `${wrapper} group`, style: { maxWidth: `${cellMaxWidthWhenExpanded}ch` }, children: needsToggle ? (!expanded ? (_jsx(ToggleComponent, { expanded: expanded, onToggle: onToggle, truncated: truncated, fullText: fullText, className: additionalCellClassNames, linkTextClassNames: linkTextClassNames })) : (_jsxs("div", { className: "flex flex-col min-w-full", style: {
42
42
  maxWidth: `${cellMaxWidthWhenExpanded}ch`,
43
- }, children: [_jsxs("div", { className: "flex items-center", children: [_jsx("span", { className: `text-left pr-5 ${cellTextClassNames}`, children: fullText }), _jsx("span", { className: "opacity-0 group-hover:opacity-100 transition-opacity inline-block", children: typeof expandedCellActionButton ===
44
- "function"
45
- ? expandedCellActionButton(fullText)
46
- : expandedCellActionButton })] }), _jsx("span", { onClick: (e) => {
43
+ }, children: [_jsx("span", { className: `text-left pr-5 ${cellTextClassNames}`, children: fullText }), _jsx("div", { className: "opacity-0 group-hover:opacity-100 transition-opacity mt-1", children: typeof expandedCellActionButton === "function"
44
+ ? expandedCellActionButton(fullText)
45
+ : expandedCellActionButton }), _jsx("span", { onClick: (e) => {
47
46
  e.stopPropagation();
48
47
  onToggle();
49
48
  }, className: linkTextClassNames, children: "Show less" })] }))) : (cell.render("Cell")) }) }, cellKey));
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@agilant/toga-blox",
3
3
  "private": false,
4
- "version": "1.0.221",
4
+ "version": "1.0.222",
5
5
  "description": "",
6
6
  "main": "dist/index.js",
7
7
  "types": "dist/index.d.ts",