rip-lang 3.13.68 → 3.13.70

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
@@ -9,7 +9,7 @@
9
9
  </p>
10
10
 
11
11
  <p align="center">
12
- <a href="CHANGELOG.md"><img src="https://img.shields.io/badge/version-3.13.68-blue.svg" alt="Version"></a>
12
+ <a href="CHANGELOG.md"><img src="https://img.shields.io/badge/version-3.13.70-blue.svg" alt="Version"></a>
13
13
  <a href="#zero-dependencies"><img src="https://img.shields.io/badge/dependencies-ZERO-brightgreen.svg" alt="Dependencies"></a>
14
14
  <a href="#"><img src="https://img.shields.io/badge/tests-1%2C436%2F1%2C436-brightgreen.svg" alt="Tests"></a>
15
15
  <a href="LICENSE"><img src="https://img.shields.io/badge/license-MIT-green.svg" alt="License"></a>
package/docs/dist/rip.js CHANGED
@@ -4876,6 +4876,16 @@ ${blockFactoriesCode}return ${lines.join(`
4876
4876
  props.push(`children: ${childrenVar}`);
4877
4877
  }
4878
4878
  }
4879
+ } else if (arg && !childrenVar) {
4880
+ const textVar = this.newTextVar();
4881
+ const val = typeof arg === "string" ? arg.valueOf() : null;
4882
+ if (val && (val.startsWith('"') || val.startsWith("'") || val.startsWith("`"))) {
4883
+ this._createLines.push(`${textVar} = document.createTextNode(${val});`);
4884
+ } else {
4885
+ this._createLines.push(`${textVar} = document.createTextNode(${this.generateInComponent(arg, "value")});`);
4886
+ }
4887
+ childrenVar = textVar;
4888
+ props.push(`children: ${childrenVar}`);
4879
4889
  }
4880
4890
  }
4881
4891
  const propsCode = props.length > 0 ? `{ ${props.join(", ")} }` : "{}";
@@ -8740,7 +8750,7 @@ globalThis.zip ??= (...a) => a[0].map((_, i) => a.map(b => b[i]));
8740
8750
  }
8741
8751
  // src/browser.js
8742
8752
  var VERSION = "3.13.68";
8743
- var BUILD_DATE = "2026-03-02@03:09:09GMT";
8753
+ var BUILD_DATE = "2026-03-02@06:03:38GMT";
8744
8754
  if (typeof globalThis !== "undefined") {
8745
8755
  if (!globalThis.__rip)
8746
8756
  new Function(getReactiveRuntime())();