@gravitee/graphene-core 2.42.0-monaco-base.a5cd832 → 2.42.0-monaco-base.08cf191

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.
@@ -8,6 +8,9 @@ export type StandaloneEditor = Parameters<NonNullable<EditorProps['onMount']>>[0
8
8
  * Languages with first-class support in the Graphene `CodeEditor`. The engine colors any
9
9
  * built-in Monaco language id; this union curates the officially-supported set (and is what the
10
10
  * JSON-schema integration maps onto in a later PR).
11
+ *
12
+ * `string & {}` widens the type to accept custom-registered language ids (e.g. GAPL) while
13
+ * preserving autocomplete for the known values.
11
14
  */
12
- export type CodeEditorLanguage = 'json' | 'yaml' | 'html' | 'markdown' | 'css' | 'plaintext' | 'javascript';
15
+ export type CodeEditorLanguage = 'json' | 'yaml' | 'html' | 'markdown' | 'css' | 'plaintext' | 'javascript' | (string & {});
13
16
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/composed/CodeEditor/models/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AAExD;;;GAGG;AACH,MAAM,MAAM,gBAAgB,GAAG,UAAU,CAAC,WAAW,CAAC,WAAW,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;AAElF;;;;GAIG;AACH,MAAM,MAAM,kBAAkB,GAAG,MAAM,GAAG,MAAM,GAAG,MAAM,GAAG,UAAU,GAAG,KAAK,GAAG,WAAW,GAAG,YAAY,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/composed/CodeEditor/models/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AAExD;;;GAGG;AACH,MAAM,MAAM,gBAAgB,GAAG,UAAU,CAAC,WAAW,CAAC,WAAW,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;AAElF;;;;;;;GAOG;AACH,MAAM,MAAM,kBAAkB,GAC1B,MAAM,GACN,MAAM,GACN,MAAM,GACN,UAAU,GACV,KAAK,GACL,WAAW,GACX,YAAY,GACZ,CAAC,MAAM,GAAG,EAAE,CAAC,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gravitee/graphene-core",
3
- "version": "2.42.0-monaco-base.a5cd832",
3
+ "version": "2.42.0-monaco-base.08cf191",
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,7 +91,7 @@
91
91
  },
92
92
  "peerDependencies": {
93
93
  "@fontsource/dm-sans": ">=5.0.0",
94
- "@gravitee/graphene-core": "2.42.0-monaco-base.a5cd832",
94
+ "@gravitee/graphene-core": "2.42.0-monaco-base.08cf191",
95
95
  "@monaco-editor/react": "^4.7.0",
96
96
  "@tanstack/react-table": "^8.0.0",
97
97
  "@testing-library/dom": ">=10.0.0",