@homebound/beam 3.0.0 → 3.0.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/dist/index.cjs +9 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +13 -1
- package/dist/index.d.ts +13 -1
- package/dist/index.js +9 -0
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
package/dist/index.cjs
CHANGED
|
@@ -4169,6 +4169,10 @@ var CssBuilder = class _CssBuilder {
|
|
|
4169
4169
|
}
|
|
4170
4170
|
return new _CssBuilder({ ...this.opts, enabled: !this.enabled, elseApplied: true });
|
|
4171
4171
|
}
|
|
4172
|
+
/** Reset active conditional modifiers for subsequent styles. */
|
|
4173
|
+
get end() {
|
|
4174
|
+
return this.newCss({ selector: void 0, elseApplied: false });
|
|
4175
|
+
}
|
|
4172
4176
|
add(propOrStyles, value) {
|
|
4173
4177
|
if (!this.enabled) {
|
|
4174
4178
|
return this;
|
|
@@ -4186,6 +4190,11 @@ var CssBuilder = class _CssBuilder {
|
|
|
4186
4190
|
void className;
|
|
4187
4191
|
return this.unsupportedRuntime("className() cannot be used in RuntimeStyle css expressions.");
|
|
4188
4192
|
}
|
|
4193
|
+
/** Marker for the build-time transform to append raw inline styles. */
|
|
4194
|
+
style(inlineStyle) {
|
|
4195
|
+
void inlineStyle;
|
|
4196
|
+
return this.unsupportedRuntime("style() cannot be used in RuntimeStyle css expressions.");
|
|
4197
|
+
}
|
|
4189
4198
|
/** Convert a style hash into `{ className, style }` props for manual spreading into non-`css=` contexts. */
|
|
4190
4199
|
props(styles) {
|
|
4191
4200
|
return (0, import_runtime.trussProps)(styles);
|