@homebound/beam 2.117.3 → 2.117.4

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/Css.d.ts CHANGED
@@ -2527,6 +2527,9 @@ declare class CssBuilder<T extends Properties1> {
2527
2527
  } & {
2528
2528
  textOverflow: import("csstype").Property.TextOverflow | undefined;
2529
2529
  }>;
2530
+ lh(value: Properties["lineHeight"]): CssBuilder<T & {
2531
+ lineHeight: import("csstype").Property.LineHeight<0 | (string & {})> | undefined;
2532
+ }>;
2530
2533
  get selectNone(): CssBuilder<T & {
2531
2534
  userSelect: import("csstype").Property.UserSelect | undefined;
2532
2535
  }>;
package/dist/Css.js CHANGED
@@ -754,6 +754,7 @@ class CssBuilder {
754
754
  get indent() { return this.add("textIndent", "1em").add("marginTop", 0).add("marginBottom", 0); }
755
755
  get smallCaps() { return this.add("fontVariant", "small-caps"); }
756
756
  get truncate() { return this.add("whiteSpace", "nowrap").add("overflow", "hidden").add("textOverflow", "ellipsis"); }
757
+ lh(value) { return this.add("lineHeight", value); }
757
758
  // userSelect
758
759
  get selectNone() { return this.add("userSelect", "none"); }
759
760
  get selectText() { return this.add("userSelect", "text"); }
@@ -8,7 +8,7 @@ function sortRows(columns, rows, sortState) {
8
8
  // Recursively sort child rows
9
9
  sorted.forEach((row, i) => {
10
10
  if (row.children) {
11
- sorted[i] = { ...sorted[i], children: sortRows(columns, row.children, sortState) };
11
+ sorted[i].children = sortRows(columns, row.children, sortState);
12
12
  }
13
13
  });
14
14
  return sorted;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@homebound/beam",
3
- "version": "2.117.3",
3
+ "version": "2.117.4",
4
4
  "author": "Homebound",
5
5
  "license": "MIT",
6
6
  "main": "dist/index.js",
@@ -20,8 +20,7 @@
20
20
  "scripts": {
21
21
  "start": "yarn storybook",
22
22
  "build": "yarn copy && ttsc",
23
- "build:truss": "cd ./truss && npm run generate",
24
- "watch:truss": "cd ./truss && watch 'npm run generate' ./",
23
+ "build:truss": "truss",
25
24
  "build:storybook": "build-storybook -s ./testAssets",
26
25
  "test": "jest --maxWorkers 4",
27
26
  "test:watch": "jest --watch",
@@ -78,6 +77,7 @@
78
77
  "@emotion/react": "^11.1.5",
79
78
  "@homebound/rtl-react-router-utils": "^1.0.3",
80
79
  "@homebound/rtl-utils": "^2.51.0",
80
+ "@homebound/truss": "^1.111.3",
81
81
  "@homebound/tsconfig": "^1.0.3",
82
82
  "@semantic-release/exec": "^6.0.3",
83
83
  "@semantic-release/git": "^9.0.0",