@chromatic-com/tetra 2.0.2--canary.111.300cd99.0 → 2.0.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.d.mts +2 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.js +279 -256
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +231 -208
- package/dist/index.mjs.map +1 -1
- package/dist/public/frontend-testing-guide.jpg +0 -0
- package/package.json +15 -15
package/dist/index.d.mts
CHANGED
|
@@ -615,7 +615,7 @@ interface HeaderMobileSection {
|
|
|
615
615
|
}[];
|
|
616
616
|
}
|
|
617
617
|
interface HeaderDesktopItemContent {
|
|
618
|
-
type: 'link' | 'separator';
|
|
618
|
+
type: 'link' | 'separator' | 'card';
|
|
619
619
|
title: string;
|
|
620
620
|
description?: string;
|
|
621
621
|
href?: string;
|
|
@@ -623,6 +623,7 @@ interface HeaderDesktopItemContent {
|
|
|
623
623
|
icon?: Icons;
|
|
624
624
|
iconColor?: keyof typeof color;
|
|
625
625
|
customIcon?: ReactNode;
|
|
626
|
+
image?: string;
|
|
626
627
|
}
|
|
627
628
|
interface HeaderDesktopItem {
|
|
628
629
|
id: string;
|
package/dist/index.d.ts
CHANGED
|
@@ -615,7 +615,7 @@ interface HeaderMobileSection {
|
|
|
615
615
|
}[];
|
|
616
616
|
}
|
|
617
617
|
interface HeaderDesktopItemContent {
|
|
618
|
-
type: 'link' | 'separator';
|
|
618
|
+
type: 'link' | 'separator' | 'card';
|
|
619
619
|
title: string;
|
|
620
620
|
description?: string;
|
|
621
621
|
href?: string;
|
|
@@ -623,6 +623,7 @@ interface HeaderDesktopItemContent {
|
|
|
623
623
|
icon?: Icons;
|
|
624
624
|
iconColor?: keyof typeof color;
|
|
625
625
|
customIcon?: ReactNode;
|
|
626
|
+
image?: string;
|
|
626
627
|
}
|
|
627
628
|
interface HeaderDesktopItem {
|
|
628
629
|
id: string;
|