@kenlo/kdls-design-system 2.20.3 → 2.21.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.
@@ -28,6 +28,7 @@ export interface HeaderNotification {
28
28
  }
29
29
  export interface HeaderProduct {
30
30
  label: string;
31
+ /** @deprecated No longer drawn — the product lists show the name only. Kept so existing calls still compile. */
31
32
  icon?: IconElement;
32
33
  href?: string;
33
34
  active?: boolean;
@@ -65,6 +66,11 @@ export interface HeaderProps {
65
66
  onClearNotifications?: () => void;
66
67
  /** Cross-product navigation list — the grid button only renders when there's more than 1 item (a single item means the product being viewed is the only destination) */
67
68
  products?: HeaderProduct[];
69
+ /** Splits the logo in two: the Kenlo wordmark keeps the home link (logoHref / onLogoClick)
70
+ * and the product name opens a menu with the same `products` list (names only, no icons),
71
+ * replacing the grid button. Only takes effect with a product name in the logo (product
72
+ * other than 'base', no custom logo) and more than 1 item in products. */
73
+ productSwitcher?: boolean;
68
74
  /** User data */
69
75
  user?: {
70
76
  name: string;