@chromatic-com/tetra 3.2.3 → 3.2.4--canary.7a8474b.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.
- package/dist/index.d.mts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +71 -71
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +71 -71
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -594,7 +594,7 @@ interface HeaderLink {
|
|
|
594
594
|
href: string;
|
|
595
595
|
linkWrapper?: any;
|
|
596
596
|
}
|
|
597
|
-
type HeaderLinks = Record<LinkKeys, HeaderLink
|
|
597
|
+
type HeaderLinks = Partial<Record<LinkKeys, HeaderLink>>;
|
|
598
598
|
|
|
599
599
|
interface HeaderProps {
|
|
600
600
|
theme?: 'light' | 'dark';
|
|
@@ -611,7 +611,7 @@ interface HeaderProps {
|
|
|
611
611
|
}
|
|
612
612
|
type LinkKeys = 'signin' | 'signup' | 'uiTest' | 'visualTest' | 'interactionTest' | 'accessibilityTest' | 'storybook' | 'playwright' | 'cypress' | 'turboSnap' | 'uiReview' | 'publish' | 'figmaPlugin' | 'frontendTeams' | 'designSystems' | 'digitalAgencies' | 'aboutChromatic' | 'careers' | 'security' | 'enterprise' | 'netlify' | 'monday' | 'collective' | 'ezcater' | 'blog' | 'changelog' | 'frontendTestingGuide' | 'docs' | 'pricing' | 'sales' | 'steadySnap' | 'snapshotCalculator' | 'accessibilityBudgetCalculator' | 'frontendWorkflowForAI';
|
|
613
613
|
|
|
614
|
-
declare const Header: ({ theme, links, logoLinkWrapper, desktopActiveId, fullWidth, loggedIn, maintenanceMode, isSticky, TrackSignUp, }: HeaderProps) => JSX.Element;
|
|
614
|
+
declare const Header: ({ theme, links: linkOverrides, logoLinkWrapper, desktopActiveId, fullWidth, loggedIn, maintenanceMode, isSticky, TrackSignUp, }: HeaderProps) => JSX.Element;
|
|
615
615
|
|
|
616
616
|
declare const CollectiveIcon: () => JSX.Element;
|
|
617
617
|
|
package/dist/index.d.ts
CHANGED
|
@@ -594,7 +594,7 @@ interface HeaderLink {
|
|
|
594
594
|
href: string;
|
|
595
595
|
linkWrapper?: any;
|
|
596
596
|
}
|
|
597
|
-
type HeaderLinks = Record<LinkKeys, HeaderLink
|
|
597
|
+
type HeaderLinks = Partial<Record<LinkKeys, HeaderLink>>;
|
|
598
598
|
|
|
599
599
|
interface HeaderProps {
|
|
600
600
|
theme?: 'light' | 'dark';
|
|
@@ -611,7 +611,7 @@ interface HeaderProps {
|
|
|
611
611
|
}
|
|
612
612
|
type LinkKeys = 'signin' | 'signup' | 'uiTest' | 'visualTest' | 'interactionTest' | 'accessibilityTest' | 'storybook' | 'playwright' | 'cypress' | 'turboSnap' | 'uiReview' | 'publish' | 'figmaPlugin' | 'frontendTeams' | 'designSystems' | 'digitalAgencies' | 'aboutChromatic' | 'careers' | 'security' | 'enterprise' | 'netlify' | 'monday' | 'collective' | 'ezcater' | 'blog' | 'changelog' | 'frontendTestingGuide' | 'docs' | 'pricing' | 'sales' | 'steadySnap' | 'snapshotCalculator' | 'accessibilityBudgetCalculator' | 'frontendWorkflowForAI';
|
|
613
613
|
|
|
614
|
-
declare const Header: ({ theme, links, logoLinkWrapper, desktopActiveId, fullWidth, loggedIn, maintenanceMode, isSticky, TrackSignUp, }: HeaderProps) => JSX.Element;
|
|
614
|
+
declare const Header: ({ theme, links: linkOverrides, logoLinkWrapper, desktopActiveId, fullWidth, loggedIn, maintenanceMode, isSticky, TrackSignUp, }: HeaderProps) => JSX.Element;
|
|
615
615
|
|
|
616
616
|
declare const CollectiveIcon: () => JSX.Element;
|
|
617
617
|
|