@mintjamsinc/ichigojs 0.1.75 → 0.1.76

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.
@@ -0,0 +1,12 @@
1
+ /**
2
+ * Converts a value to a string suitable for display in rendered output,
3
+ * following Vue's `toDisplayString` semantics:
4
+ * - strings are returned as-is
5
+ * - null and undefined become an empty string
6
+ * - arrays and plain objects (without a custom toString) are rendered as
7
+ * pretty-printed JSON, with Map/Set/Symbol entries made readable
8
+ * - everything else is converted with String()
9
+ * @param value The value to convert.
10
+ * @returns The display string for the value.
11
+ */
12
+ export declare function toDisplayString(value: unknown): string;
@@ -3,6 +3,7 @@ export { VComponent } from './ichigo/components/VComponent';
3
3
  export { VComponentRegistry } from './ichigo/components/VComponentRegistry';
4
4
  export { ReactiveProxy } from './ichigo/util/ReactiveProxy';
5
5
  export { ExpressionUtils } from './ichigo/util/ExpressionUtils';
6
+ export { toDisplayString } from './ichigo/util/DisplayString';
6
7
  export { defineComponent } from './ichigo/components/defineComponent';
7
8
  export type { IchigoComponentOptions } from './ichigo/components/IchigoComponentOptions';
8
9
  export { IchigoElement } from './ichigo/components/IchigoElement';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mintjamsinc/ichigojs",
3
- "version": "0.1.75",
3
+ "version": "0.1.76",
4
4
  "description": "ichigo.js - Simple and intuitive reactive framework. Lightweight, fast, and user-friendly virtual DOM library",
5
5
  "main": "./dist/ichigo.cjs",
6
6
  "module": "./dist/ichigo.esm.js",