@homebound/beam 2.354.3 → 2.354.5

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
@@ -3852,10 +3852,22 @@ declare class CssBuilder<T extends Properties> {
3852
3852
  } & {
3853
3853
  textOverflow: import("csstype").Property.TextOverflow | undefined;
3854
3854
  }>;
3855
+ /** Sets `fontSize: value`. */
3856
+ fs(value: Properties["fontSize"]): CssBuilder<T & {
3857
+ fontSize: import("csstype").Property.FontSize<string | 0> | undefined;
3858
+ }>;
3859
+ /** Sets `fontSize: px`. */
3860
+ fsPx(px: number): CssBuilder<T & {
3861
+ fontSize: import("csstype").Property.FontSize<string | 0> | undefined;
3862
+ }>;
3855
3863
  /** Sets `lineHeight: value`. */
3856
3864
  lh(value: Properties["lineHeight"]): CssBuilder<T & {
3857
3865
  lineHeight: import("csstype").Property.LineHeight<string | 0> | undefined;
3858
3866
  }>;
3867
+ /** Sets `lineHeight: px`. */
3868
+ lhPx(px: number): CssBuilder<T & {
3869
+ lineHeight: import("csstype").Property.LineHeight<string | 0> | undefined;
3870
+ }>;
3859
3871
  /** Sets `userSelect: "none"`. */
3860
3872
  get usn(): CssBuilder<T & {
3861
3873
  userSelect: import("csstype").Property.UserSelect | undefined;
@@ -4200,7 +4212,7 @@ declare class CssBuilder<T extends Properties> {
4200
4212
  } & {
4201
4213
  listStyle: import("csstype").Property.ListStyle | undefined;
4202
4214
  }>;
4203
- /** Sets `position: "fixed"; top: 0; bottom: 0; left: 0; right: 0; display: "flex"; alignItems: "center"; justifyContent: "center"; backgroundColor: "rgba(36,36,36,0.2)"`. */
4215
+ /** Sets `position: "fixed"; top: 0; bottom: 0; left: 0; right: 0; display: "flex"; alignItems: "center"; justifyContent: "center"; backgroundColor: "rgba(36,36,36,0.6)"`. */
4204
4216
  get underlay(): CssBuilder<T & {
4205
4217
  position: import("csstype").Property.Position | undefined;
4206
4218
  } & {
package/dist/Css.js CHANGED
@@ -3409,10 +3409,22 @@ class CssBuilder {
3409
3409
  get truncate() {
3410
3410
  return this.add("whiteSpace", "nowrap").add("overflow", "hidden").add("textOverflow", "ellipsis");
3411
3411
  }
3412
+ /** Sets `fontSize: value`. */
3413
+ fs(value) {
3414
+ return this.add("fontSize", value);
3415
+ }
3416
+ /** Sets `fontSize: px`. */
3417
+ fsPx(px) {
3418
+ return this.fs(`${px}px`);
3419
+ }
3412
3420
  /** Sets `lineHeight: value`. */
3413
3421
  lh(value) {
3414
3422
  return this.add("lineHeight", value);
3415
3423
  }
3424
+ /** Sets `lineHeight: px`. */
3425
+ lhPx(px) {
3426
+ return this.lh(`${px}px`);
3427
+ }
3416
3428
  // userSelect
3417
3429
  /** Sets `userSelect: "none"`. */
3418
3430
  get usn() {
@@ -3749,9 +3761,9 @@ class CssBuilder {
3749
3761
  return this.add("padding", 0).add("margin", 0).add("listStyle", "none");
3750
3762
  }
3751
3763
  // underlay
3752
- /** Sets `position: "fixed"; top: 0; bottom: 0; left: 0; right: 0; display: "flex"; alignItems: "center"; justifyContent: "center"; backgroundColor: "rgba(36,36,36,0.2)"`. */
3764
+ /** Sets `position: "fixed"; top: 0; bottom: 0; left: 0; right: 0; display: "flex"; alignItems: "center"; justifyContent: "center"; backgroundColor: "rgba(36,36,36,0.6)"`. */
3753
3765
  get underlay() {
3754
- return this.add("position", "fixed").add("top", 0).add("bottom", 0).add("left", 0).add("right", 0).add("display", "flex").add("alignItems", "center").add("justifyContent", "center").add("backgroundColor", "rgba(36,36,36,0.2)");
3766
+ return this.add("position", "fixed").add("top", 0).add("bottom", 0).add("left", 0).add("right", 0).add("display", "flex").add("alignItems", "center").add("justifyContent", "center").add("backgroundColor", "rgba(36,36,36,0.6)");
3755
3767
  }
3756
3768
  // visuallyHidden
3757
3769
  /** Sets `position: "absolute"; overflow: "hidden"; clip: "inset(50%)"; clipPath: ""; border: 0; height: "1px"; margin: "-1px"; width: "1px"; padding: 0; whiteSpace: "nowrap"; opacity: 0`. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@homebound/beam",
3
- "version": "2.354.3",
3
+ "version": "2.354.5",
4
4
  "author": "Homebound",
5
5
  "license": "MIT",
6
6
  "main": "dist/index.js",
@@ -78,7 +78,7 @@
78
78
  "@homebound/eslint-config": "^1.10.2",
79
79
  "@homebound/rtl-react-router-utils": "1.0.3",
80
80
  "@homebound/rtl-utils": "^2.65.0",
81
- "@homebound/truss": "^1.135.0",
81
+ "@homebound/truss": "^1.136.0",
82
82
  "@homebound/tsconfig": "^1.0.3",
83
83
  "@semantic-release/exec": "^6.0.3",
84
84
  "@semantic-release/git": "^10.0.1",