@nullplatform/ui-plugin-sdk 0.12.0 → 0.13.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.
@@ -416,6 +416,7 @@ export declare const RadioCard: import("react").ComponentType<{
416
416
  export declare const CodeHighlighter: import("react").ComponentType<{
417
417
  code?: string | undefined;
418
418
  lang?: "bash" | "hcl" | "json" | "sql" | "yaml" | undefined;
419
+ maxHeight?: number | undefined;
419
420
  } & {} & {} & {
420
421
  children?: import("react").ReactNode;
421
422
  }>;
@@ -1,4 +1,4 @@
1
- // Generated by scripts/sync-contracts.mjs from @nullplatform/react-ui-components@0.15.18. Don't edit: change the contract in
1
+ // Generated by scripts/sync-contracts.mjs from @nullplatform/react-ui-components@0.15.19. Don't edit: change the contract in
2
2
  // react-ui-components, bump `uiComponentsContracts` in package.json and run `pnpm sync:contracts`.
3
3
  import { component } from "./component.js";
4
4
  export const Badge = component("np-badge");
@@ -585,6 +585,7 @@ export declare const UI_COMPONENTS_CONTRACTS: readonly [{
585
585
  readonly properties: {
586
586
  readonly code: "string";
587
587
  readonly lang: "string";
588
+ readonly maxHeight: "number";
588
589
  };
589
590
  readonly events: {};
590
591
  readonly values: {
@@ -1,4 +1,4 @@
1
- // Generated by scripts/sync-contracts.mjs from @nullplatform/react-ui-components@0.15.18. Don't edit: change the contract in
1
+ // Generated by scripts/sync-contracts.mjs from @nullplatform/react-ui-components@0.15.19. Don't edit: change the contract in
2
2
  // react-ui-components, bump `uiComponentsContracts` in package.json and run `pnpm sync:contracts`.
3
3
  export const UI_COMPONENTS_CONTRACTS = [
4
4
  {
@@ -304,7 +304,7 @@ export const UI_COMPONENTS_CONTRACTS = [
304
304
  {
305
305
  tag: "np-code-highlighter",
306
306
  component: "CodeHighlighter",
307
- properties: { "code": "string", "lang": "string" },
307
+ properties: { "code": "string", "lang": "string", "maxHeight": "number" },
308
308
  events: {},
309
309
  values: { "lang": ["bash", "hcl", "json", "sql", "yaml"] },
310
310
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nullplatform/ui-plugin-sdk",
3
- "version": "0.12.0",
3
+ "version": "0.13.0",
4
4
  "description": "SDK for nullplatform UI plugins: catalog components, bridge client and defineUI",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -42,7 +42,7 @@
42
42
  "test": "vitest run --passWithNoTests",
43
43
  "sync:contracts": "node scripts/sync-contracts.mjs"
44
44
  },
45
- "uiComponentsContracts": "0.15.18",
45
+ "uiComponentsContracts": "0.15.19",
46
46
  "dependencies": {
47
47
  "@remote-dom/core": "^1.11.1",
48
48
  "@remote-dom/react": "^1.2.2",