@homebound/beam 2.354.3 → 2.354.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 +12 -0
- package/dist/Css.js +12 -0
- package/package.json +2 -2
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;
|
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() {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@homebound/beam",
|
|
3
|
-
"version": "2.354.
|
|
3
|
+
"version": "2.354.4",
|
|
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.
|
|
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",
|