@martinsura/ui 0.1.0 → 0.1.1

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/README.md CHANGED
@@ -61,6 +61,21 @@ Important:
61
61
  - example: `package.json` = `0.1.1`, Git tag = `v0.1.1`
62
62
  - the npm publish runs only when the tag is pushed
63
63
 
64
+ ### Emergency local publish
65
+
66
+ If you ever need an emergency hotfix without waiting for GitHub Actions, you can publish directly from your machine:
67
+
68
+ ```bash
69
+ npm run build
70
+ npm publish --access public
71
+ ```
72
+
73
+ Important:
74
+
75
+ - always bump the version in `package.json` first
76
+ - npm does not allow publishing the same version twice
77
+ - this should be used only as a fallback, not as the default release workflow
78
+
64
79
  ## GitHub Actions Setup
65
80
 
66
81
  Before the first npm release, add this repository secret in GitHub:
package/dist/index.cjs CHANGED
@@ -1403,7 +1403,7 @@ var Table = ({
1403
1403
  sc.td,
1404
1404
  "align-middle",
1405
1405
  verticalBorders && tableCellVerticalBorderClass,
1406
- !col.wrap && "max-w-60 truncate",
1406
+ col.ellipsis && "max-w-60 truncate",
1407
1407
  col.wrap && "whitespace-normal",
1408
1408
  col.align === "center" && "text-center",
1409
1409
  col.align === "right" && "text-right",
@@ -1705,7 +1705,7 @@ var Grid = (props) => {
1705
1705
  sc.td,
1706
1706
  "align-middle",
1707
1707
  verticalBorders && tableCellVerticalBorderClass,
1708
- !col.wrap && "max-w-60 truncate",
1708
+ col.ellipsis && "max-w-60 truncate",
1709
1709
  col.wrap && "whitespace-normal",
1710
1710
  col.align === "center" && "text-center",
1711
1711
  col.align === "right" && "text-right",