@gravitee/gamma-lib-observability 1.27.1 → 1.27.2

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.
package/dist/index.js CHANGED
@@ -2861,6 +2861,7 @@ function no(e) {
2861
2861
  return e in to;
2862
2862
  }
2863
2863
  function ro({ level: e }) {
2864
+ if (!e) return null;
2864
2865
  let t = e.toLowerCase();
2865
2866
  return /* @__PURE__ */ M(R, {
2866
2867
  variant: no(t) ? to[t] : "secondary",
@@ -1,6 +1,6 @@
1
1
  export type LogLevel = 'trace' | 'debug' | 'info' | 'warn' | 'error' | 'fatal';
2
2
  export interface LogSeverityBadgeProps {
3
- readonly level: string;
3
+ readonly level?: string;
4
4
  }
5
- export declare function LogSeverityBadge({ level }: LogSeverityBadgeProps): import("react/jsx-runtime").JSX.Element;
5
+ export declare function LogSeverityBadge({ level }: LogSeverityBadgeProps): import("react/jsx-runtime").JSX.Element | null;
6
6
  //# sourceMappingURL=LogSeverityBadge.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"LogSeverityBadge.d.ts","sourceRoot":"","sources":["../../src/logs/LogSeverityBadge.tsx"],"names":[],"mappings":"AAEA,MAAM,MAAM,QAAQ,GAAG,OAAO,GAAG,OAAO,GAAG,MAAM,GAAG,MAAM,GAAG,OAAO,GAAG,OAAO,CAAC;AAe/E,MAAM,WAAW,qBAAqB;IACpC,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;CACxB;AAED,wBAAgB,gBAAgB,CAAC,EAAE,KAAK,EAAE,EAAE,qBAAqB,2CAKhE"}
1
+ {"version":3,"file":"LogSeverityBadge.d.ts","sourceRoot":"","sources":["../../src/logs/LogSeverityBadge.tsx"],"names":[],"mappings":"AAEA,MAAM,MAAM,QAAQ,GAAG,OAAO,GAAG,OAAO,GAAG,MAAM,GAAG,MAAM,GAAG,OAAO,GAAG,OAAO,CAAC;AAe/E,MAAM,WAAW,qBAAqB;IAGpC,QAAQ,CAAC,KAAK,CAAC,EAAE,MAAM,CAAC;CACzB;AAED,wBAAgB,gBAAgB,CAAC,EAAE,KAAK,EAAE,EAAE,qBAAqB,kDAMhE"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gravitee/gamma-lib-observability",
3
- "version": "1.27.1",
3
+ "version": "1.27.2",
4
4
  "description": "Shared observability library for Gamma modules — dashboards, logs, tracing UI components and integration with business rules.",
5
5
  "type": "module",
6
6
  "packageManager": "yarn@4.14.1",