@chromatic-com/tetra
Advanced tools
Comparing version 2.0.3--canary.113.f26f05b.0 to 2.0.3--canary.113.fe35052.0
import * as _emotion_react from '@emotion/react'; | ||
import * as React from 'react'; | ||
import React__default, { FC, ReactNode, ComponentType, ElementType, FunctionComponent } from 'react'; | ||
import React__default, { FC, ReactNode, ElementType, ComponentType, FunctionComponent } from 'react'; | ||
import * as _emotion_styled from '@emotion/styled'; | ||
@@ -410,2 +410,3 @@ import * as RadixDropdownMenu from '@radix-ui/react-dropdown-menu'; | ||
readonly vscode: JSX.Element; | ||
readonly bluesky: JSX.Element; | ||
}; | ||
@@ -559,26 +560,7 @@ | ||
interface FooterItem { | ||
title: string; | ||
href: string; | ||
LinkWrapper?: any; | ||
} | ||
interface FooterColumn { | ||
title: string; | ||
links: FooterItem[]; | ||
} | ||
interface FooterSocialItem extends FooterItem { | ||
icon: IconProps['name']; | ||
} | ||
interface HomeItem { | ||
href: string; | ||
LinkWrapper?: any; | ||
} | ||
interface FooterProps { | ||
theme: 'light' | 'dark'; | ||
columns: FooterColumn[]; | ||
socialLinks: FooterSocialItem[]; | ||
homeLink: HomeItem; | ||
LinkWrapper: ElementType; | ||
} | ||
declare const Footer: ({ theme, columns, socialLinks, homeLink, ...props }: FooterProps) => JSX.Element; | ||
declare const Footer: ({ theme, LinkWrapper, ...props }: FooterProps) => JSX.Element; | ||
@@ -606,2 +588,4 @@ interface ColumnProps { | ||
type LinkKeys = 'signin' | 'signup' | 'uiTest' | 'visualTest' | 'interactionTest' | 'storybook' | 'playwright' | 'cypress' | 'turboSnap' | 'uiReview' | 'publish' | 'figmaPlugin' | 'frontendTeams' | 'designSystems' | 'digitalAgencies' | 'aboutChromatic' | 'careers' | 'security' | 'enterprise' | 'netlify' | 'monday' | 'collective' | 'ezcater' | 'blog' | 'changelog' | 'frontendTestingGuide' | 'docs' | 'pricing' | 'sales'; | ||
interface HeaderLink { | ||
@@ -615,7 +599,3 @@ title: string; | ||
} | ||
declare const defaultLinks: { | ||
[key: string]: HeaderLink; | ||
}; | ||
type HeaderLinkKeys = keyof typeof defaultLinks; | ||
type HeaderLinks = Record<HeaderLinkKeys, HeaderLink>; | ||
type HeaderLinks = Record<LinkKeys, HeaderLink>; | ||
@@ -622,0 +602,0 @@ interface HeaderProps { |
{ | ||
"name": "@chromatic-com/tetra", | ||
"version": "2.0.3--canary.113.f26f05b.0", | ||
"version": "2.0.3--canary.113.fe35052.0", | ||
"description": "Style Guide + UI library for Chromatic and Storybook marketing sites and docs", | ||
@@ -5,0 +5,0 @@ "author": { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
3972998
6253