@limetech/lime-elements 39.12.0 → 39.12.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.
@@ -63,6 +63,7 @@ export declare class Form {
63
63
  private modifiedSchema;
64
64
  private validator;
65
65
  private root;
66
+ private initialized;
66
67
  constructor();
67
68
  connectedCallback(): void;
68
69
  componentWillLoad(): void;
@@ -0,0 +1,17 @@
1
+ import Ajv from 'ajv';
2
+ /**
3
+ * Returns a compiled JSON Schema validator, using a cached version
4
+ * if the same schema content has been seen before.
5
+ *
6
+ * @param schema - the JSON Schema to compile
7
+ */
8
+ export declare function getValidator(schema: Record<string, any>): Ajv.ValidateFunction;
9
+ /**
10
+ * Generates a deterministic ID from schema content, preserving any
11
+ * existing `$id` as a prefix. Used to work around RJSF #1563 where
12
+ * identical schemas need stable IDs to avoid validation cache collisions.
13
+ *
14
+ * @param schema - the JSON Schema to generate an ID for
15
+ */
16
+ export declare function getSchemaId(schema: Record<string, any>): string;
17
+ //# sourceMappingURL=schema-cache.d.ts.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@limetech/lime-elements",
3
- "version": "39.12.0",
3
+ "version": "39.12.1",
4
4
  "description": "Lime Elements",
5
5
  "author": "Lime Technologies",
6
6
  "license": "Apache-2.0",
@@ -84,7 +84,6 @@
84
84
  "puppeteer": "^19.11.1",
85
85
  "react": "^19.1.1",
86
86
  "react-dom": "^19.1.1",
87
- "react-shadow-dom-retarget-events": "^1.1.0",
88
87
  "rehype-parse": "^9.0.1",
89
88
  "rehype-raw": "^7.0.0",
90
89
  "rehype-sanitize": "^6.0.0",