@gravitee/graphene-core 2.37.0 → 2.38.0-fix-required.f25186a

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.
@@ -1 +1 @@
1
- {"version":3,"file":"resolveRefs.d.ts","sourceRoot":"","sources":["../../../../src/composed/JsonSchemaForm/utils/resolveRefs.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,6BAA6B,CAAC;AAG9D,iBAAS,WAAW,CAAC,MAAM,EAAE,UAAU,GAAG,UAAU,CAEnD;AA6ED,OAAO,EAAE,WAAW,EAAE,CAAC"}
1
+ {"version":3,"file":"resolveRefs.d.ts","sourceRoot":"","sources":["../../../../src/composed/JsonSchemaForm/utils/resolveRefs.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,6BAA6B,CAAC;AAG9D,iBAAS,WAAW,CAAC,MAAM,EAAE,UAAU,GAAG,UAAU,CAEnD;AAsFD,OAAO,EAAE,WAAW,EAAE,CAAC"}
package/dist/index.js CHANGED
@@ -29642,32 +29642,32 @@ function DK(e, t, n) {
29642
29642
  if (n.includes(e.$ref)) throw Error(`Cyclic $ref: ${[...n, e.$ref].join(" → ")}`);
29643
29643
  let r = OK(t, e.$ref);
29644
29644
  if (r === void 0) throw Error(`Unresolved $ref: ${e.$ref}`);
29645
- let i = DK(r, t, [...n, e.$ref]), { $ref: a, gioConfig: o, ...s } = e, c = {
29645
+ let i = DK(r, t, [...n, e.$ref]), { $ref: a, gioConfig: o, id: s, ...c } = e, l = {
29646
29646
  ...i,
29647
- ...s
29647
+ ...c
29648
29648
  };
29649
- return (o || i.gioConfig) && (c.gioConfig = {
29649
+ return (o || i.gioConfig) && (l.gioConfig = {
29650
29650
  ...i.gioConfig,
29651
29651
  ...o
29652
- }), c;
29652
+ }), l;
29653
29653
  }
29654
- let r = { ...e };
29655
- if (r.properties) {
29654
+ let { id: r, ...i } = e;
29655
+ if (i.properties) {
29656
29656
  let e = {};
29657
- for (let [i, a] of Object.entries(r.properties)) e[i] = DK(a, t, n);
29658
- r.properties = e;
29657
+ for (let [r, a] of Object.entries(i.properties)) e[r] = DK(a, t, n);
29658
+ i.properties = e;
29659
29659
  }
29660
- if (r.items &&= Array.isArray(r.items) ? r.items.map((e) => DK(e, t, n)) : DK(r.items, t, n), r.oneOf &&= r.oneOf.map((e) => DK(e, t, n)), r.anyOf &&= r.anyOf.map((e) => DK(e, t, n)), r.allOf &&= r.allOf.map((e) => DK(e, t, n)), r.definitions) {
29660
+ if (i.items &&= Array.isArray(i.items) ? i.items.map((e) => DK(e, t, n)) : DK(i.items, t, n), i.oneOf &&= i.oneOf.map((e) => DK(e, t, n)), i.anyOf &&= i.anyOf.map((e) => DK(e, t, n)), i.allOf &&= i.allOf.map((e) => DK(e, t, n)), i.definitions) {
29661
29661
  let e = {};
29662
- for (let [i, a] of Object.entries(r.definitions)) e[i] = DK(a, t, n);
29663
- r.definitions = e;
29662
+ for (let [r, a] of Object.entries(i.definitions)) e[r] = DK(a, t, n);
29663
+ i.definitions = e;
29664
29664
  }
29665
- if (r.$defs) {
29665
+ if (i.$defs) {
29666
29666
  let e = {};
29667
- for (let [i, a] of Object.entries(r.$defs)) e[i] = DK(a, t, n);
29668
- r.$defs = e;
29667
+ for (let [r, a] of Object.entries(i.$defs)) e[r] = DK(a, t, n);
29668
+ i.$defs = e;
29669
29669
  }
29670
- return r;
29670
+ return i;
29671
29671
  }
29672
29672
  function OK(e, t) {
29673
29673
  if (t === "#") return e;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gravitee/graphene-core",
3
- "version": "2.37.0",
3
+ "version": "2.38.0-fix-required.f25186a",
4
4
  "type": "module",
5
5
  "description": "Gravitee's Graphene design system: accessible React components, design tokens, icons, and shared ESLint/TypeScript configs. Built on shadcn/ui and Tailwind.",
6
6
  "keywords": [
@@ -91,6 +91,7 @@
91
91
  },
92
92
  "peerDependencies": {
93
93
  "@fontsource/dm-sans": ">=5.0.0",
94
+ "@gravitee/graphene-core": "2.38.0-fix-required.f25186a",
94
95
  "@tanstack/react-table": "^8.0.0",
95
96
  "@testing-library/dom": ">=10.0.0",
96
97
  "@testing-library/react": ">=16.0.0",