ov25-setup 0.2.15 → 0.7.0

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
+ import type { StringReplacementsConfig } from 'ov25-ui';
2
+ /**
3
+ * Hydrate editor state from saved inject config (full rule lists per key).
4
+ */
5
+ export declare function serializableToFormStringReplacements(config: StringReplacementsConfig | undefined): StringReplacementsConfig;
6
+ /** Build inject `stringReplacements` from form state (drops empty templates). */
7
+ export declare function formStringReplacementsToSerializable(form: StringReplacementsConfig | undefined): StringReplacementsConfig | undefined;
8
+ /**
9
+ * Normalizes `stringReplacements` when loading from localStorage (legacy `key → string`
10
+ * or current `key → StringReplacementRule[]`).
11
+ */
12
+ export declare function normalizeStringReplacementsState(raw: unknown): StringReplacementsConfig;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ov25-setup",
3
- "version": "0.2.15",
3
+ "version": "0.7.0",
4
4
  "description": "OV25 Configurator Setup visual editor component",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -45,7 +45,7 @@
45
45
  "class-variance-authority": "^0.7.0",
46
46
  "clsx": "^2.1.0",
47
47
  "lucide-react": "^0.540.0",
48
- "ov25-ui": "^0.6.4",
48
+ "ov25-ui": "0.7.0",
49
49
  "react-colorful": "^5.6.1",
50
50
  "tailwind-merge": "^2.2.0"
51
51
  },