@mt-gloss/ui 0.1.86 → 0.1.87

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.
@@ -30,6 +30,8 @@ export type SlotCapacity = 1 | 3 | 5;
30
30
  /** Base props shared by all MetricCard variants. */
31
31
  export interface BaseMetricCardProps {
32
32
  label: string;
33
+ /** Optional ReactNode rendered alongside the label in zone-a (geo badge, beta chip, etc.). */
34
+ labelAdornment?: import('react').ReactNode;
33
35
  value?: number | string | null;
34
36
  valueFormat?: ValueFormat;
35
37
  trend?: TrendData | null;
@@ -1,10 +1,12 @@
1
- import { RefObject } from 'react';
1
+ import { RefObject, ReactNode } from 'react';
2
2
  /** Describes a single page entry in the dropdown list. */
3
3
  export interface PageInfo {
4
4
  id: string;
5
5
  name: string;
6
6
  named: boolean;
7
7
  cardCount: number;
8
+ /** Optional trailing decoration (geo badge, etc.). Rendered after the page name. */
9
+ icon?: ReactNode;
8
10
  }
9
11
  /** Props for the PageChip corner navigation element. */
10
12
  export interface PageChipProps {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mt-gloss/ui",
3
- "version": "0.1.86",
3
+ "version": "0.1.87",
4
4
  "type": "module",
5
5
  "publishConfig": {
6
6
  "access": "restricted"