@zendeskgarden/react-chrome 8.69.2 → 8.69.3
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.cjs.js +42 -57
- package/dist/index.esm.js +40 -56
- package/dist/typings/elements/Chrome.d.ts +12 -12
- package/dist/typings/elements/SkipNav.d.ts +12 -12
- package/dist/typings/elements/body/Body.d.ts +12 -12
- package/dist/typings/elements/body/Content.d.ts +11 -11
- package/dist/typings/elements/body/Main.d.ts +11 -11
- package/dist/typings/elements/body/Sidebar.d.ts +11 -11
- package/dist/typings/elements/footer/Footer.d.ts +11 -11
- package/dist/typings/elements/footer/FooterItem.d.ts +11 -11
- package/dist/typings/elements/header/Header.d.ts +12 -12
- package/dist/typings/elements/header/HeaderItem.d.ts +12 -12
- package/dist/typings/elements/header/HeaderItemIcon.d.ts +11 -11
- package/dist/typings/elements/header/HeaderItemText.d.ts +12 -12
- package/dist/typings/elements/header/HeaderItemWrapper.d.ts +12 -12
- package/dist/typings/elements/nav/Nav.d.ts +12 -12
- package/dist/typings/elements/nav/NavItem.d.ts +12 -12
- package/dist/typings/elements/nav/NavItemIcon.d.ts +11 -11
- package/dist/typings/elements/nav/NavItemText.d.ts +12 -12
- package/dist/typings/elements/sheet/Sheet.d.ts +27 -27
- package/dist/typings/elements/sheet/components/Body.d.ts +11 -11
- package/dist/typings/elements/sheet/components/Close.d.ts +11 -11
- package/dist/typings/elements/sheet/components/Description.d.ts +11 -11
- package/dist/typings/elements/sheet/components/Footer.d.ts +12 -12
- package/dist/typings/elements/sheet/components/FooterItem.d.ts +11 -11
- package/dist/typings/elements/sheet/components/Header.d.ts +11 -11
- package/dist/typings/elements/sheet/components/Title.d.ts +11 -11
- package/dist/typings/elements/subnav/CollapsibleSubNavItem.d.ts +12 -12
- package/dist/typings/elements/subnav/SubNav.d.ts +11 -11
- package/dist/typings/elements/subnav/SubNavItem.d.ts +12 -12
- package/dist/typings/elements/subnav/SubNavItemText.d.ts +12 -12
- package/dist/typings/index.d.ts +32 -32
- package/dist/typings/styled/StyledChrome.d.ts +13 -13
- package/dist/typings/styled/StyledSkipNav.d.ts +18 -18
- package/dist/typings/styled/StyledSkipNavIcon.d.ts +11 -11
- package/dist/typings/styled/body/StyledBody.d.ts +10 -10
- package/dist/typings/styled/body/StyledContent.d.ts +14 -14
- package/dist/typings/styled/body/StyledMain.d.ts +10 -10
- package/dist/typings/styled/body/StyledSidebar.d.ts +10 -10
- package/dist/typings/styled/footer/StyledFooter.d.ts +12 -12
- package/dist/typings/styled/footer/StyledFooterItem.d.ts +13 -13
- package/dist/typings/styled/header/StyledBaseHeaderItem.d.ts +21 -21
- package/dist/typings/styled/header/StyledHeader.d.ts +12 -12
- package/dist/typings/styled/header/StyledHeaderItem.d.ts +15 -15
- package/dist/typings/styled/header/StyledHeaderItemIcon.d.ts +13 -13
- package/dist/typings/styled/header/StyledHeaderItemText.d.ts +11 -11
- package/dist/typings/styled/header/StyledHeaderItemWrapper.d.ts +11 -11
- package/dist/typings/styled/header/StyledLogoHeaderItem.d.ts +21 -21
- package/dist/typings/styled/index.d.ts +44 -44
- package/dist/typings/styled/nav/StyledBaseNavItem.d.ts +16 -16
- package/dist/typings/styled/nav/StyledBrandmarkNavItem.d.ts +14 -14
- package/dist/typings/styled/nav/StyledLogoNavItem.d.ts +21 -21
- package/dist/typings/styled/nav/StyledNav.d.ts +17 -17
- package/dist/typings/styled/nav/StyledNavItem.d.ts +26 -26
- package/dist/typings/styled/nav/StyledNavItemIcon.d.ts +13 -13
- package/dist/typings/styled/nav/StyledNavItemText.d.ts +11 -11
- package/dist/typings/styled/sheet/StyledSheet.d.ts +19 -19
- package/dist/typings/styled/sheet/StyledSheetBody.d.ts +10 -10
- package/dist/typings/styled/sheet/StyledSheetClose.d.ts +16 -16
- package/dist/typings/styled/sheet/StyledSheetDescription.d.ts +11 -11
- package/dist/typings/styled/sheet/StyledSheetFooter.d.ts +15 -15
- package/dist/typings/styled/sheet/StyledSheetFooterItem.d.ts +11 -11
- package/dist/typings/styled/sheet/StyledSheetHeader.d.ts +18 -18
- package/dist/typings/styled/sheet/StyledSheetTitle.d.ts +11 -11
- package/dist/typings/styled/sheet/StyledSheetWrapper.d.ts +19 -19
- package/dist/typings/styled/subnav/StyledSubNav.d.ts +17 -17
- package/dist/typings/styled/subnav/StyledSubNavItem.d.ts +21 -21
- package/dist/typings/styled/subnav/StyledSubNavItemHeader.d.ts +14 -14
- package/dist/typings/styled/subnav/StyledSubNavItemIcon.d.ts +14 -14
- package/dist/typings/styled/subnav/StyledSubNavItemText.d.ts +11 -11
- package/dist/typings/styled/subnav/StyledSubNavPanel.d.ts +12 -12
- package/dist/typings/types/index.d.ts +117 -117
- package/dist/typings/utils/useBodyContext.d.ts +13 -13
- package/dist/typings/utils/useChromeContext.d.ts +15 -15
- package/dist/typings/utils/useFocusableMount.d.ts +14 -14
- package/dist/typings/utils/useNavContext.d.ts +13 -13
- package/dist/typings/utils/useSheetContext.d.ts +15 -15
- package/package.json +3 -3
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Copyright Zendesk, Inc.
|
|
3
|
-
*
|
|
4
|
-
* Use of this source code is governed under the Apache License, Version 2.0
|
|
5
|
-
* found at http://www.apache.org/licenses/LICENSE-2.0.
|
|
6
|
-
*/
|
|
7
|
-
import React from 'react';
|
|
8
|
-
import { IHeaderItemWrapperProps } from '../../types';
|
|
9
|
-
/**
|
|
10
|
-
* @extends HTMLAttributes<HTMLDivElement>
|
|
11
|
-
*/
|
|
12
|
-
export declare const HeaderItemWrapper: React.ForwardRefExoticComponent<IHeaderItemWrapperProps & React.RefAttributes<HTMLDivElement>>;
|
|
1
|
+
/**
|
|
2
|
+
* Copyright Zendesk, Inc.
|
|
3
|
+
*
|
|
4
|
+
* Use of this source code is governed under the Apache License, Version 2.0
|
|
5
|
+
* found at http://www.apache.org/licenses/LICENSE-2.0.
|
|
6
|
+
*/
|
|
7
|
+
import React from 'react';
|
|
8
|
+
import { IHeaderItemWrapperProps } from '../../types';
|
|
9
|
+
/**
|
|
10
|
+
* @extends HTMLAttributes<HTMLDivElement>
|
|
11
|
+
*/
|
|
12
|
+
export declare const HeaderItemWrapper: React.ForwardRefExoticComponent<IHeaderItemWrapperProps & React.RefAttributes<HTMLDivElement>>;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Copyright Zendesk, Inc.
|
|
3
|
-
*
|
|
4
|
-
* Use of this source code is governed under the Apache License, Version 2.0
|
|
5
|
-
* found at http://www.apache.org/licenses/LICENSE-2.0.
|
|
6
|
-
*/
|
|
7
|
-
import React from 'react';
|
|
8
|
-
import { INavProps } from '../../types';
|
|
9
|
-
/**
|
|
10
|
-
* @extends HTMLAttributes<HTMLElement>
|
|
11
|
-
*/
|
|
12
|
-
export declare const Nav: React.ForwardRefExoticComponent<INavProps & React.RefAttributes<HTMLElement>>;
|
|
1
|
+
/**
|
|
2
|
+
* Copyright Zendesk, Inc.
|
|
3
|
+
*
|
|
4
|
+
* Use of this source code is governed under the Apache License, Version 2.0
|
|
5
|
+
* found at http://www.apache.org/licenses/LICENSE-2.0.
|
|
6
|
+
*/
|
|
7
|
+
import React from 'react';
|
|
8
|
+
import { INavProps } from '../../types';
|
|
9
|
+
/**
|
|
10
|
+
* @extends HTMLAttributes<HTMLElement>
|
|
11
|
+
*/
|
|
12
|
+
export declare const Nav: React.ForwardRefExoticComponent<INavProps & React.RefAttributes<HTMLElement>>;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Copyright Zendesk, Inc.
|
|
3
|
-
*
|
|
4
|
-
* Use of this source code is governed under the Apache License, Version 2.0
|
|
5
|
-
* found at http://www.apache.org/licenses/LICENSE-2.0.
|
|
6
|
-
*/
|
|
7
|
-
import React from 'react';
|
|
8
|
-
import { INavItemProps } from '../../types';
|
|
9
|
-
/**
|
|
10
|
-
* @extends ButtonHTMLAttributes<HTMLButtonElement>
|
|
11
|
-
*/
|
|
12
|
-
export declare const NavItem: React.ForwardRefExoticComponent<INavItemProps & React.RefAttributes<HTMLButtonElement>>;
|
|
1
|
+
/**
|
|
2
|
+
* Copyright Zendesk, Inc.
|
|
3
|
+
*
|
|
4
|
+
* Use of this source code is governed under the Apache License, Version 2.0
|
|
5
|
+
* found at http://www.apache.org/licenses/LICENSE-2.0.
|
|
6
|
+
*/
|
|
7
|
+
import React from 'react';
|
|
8
|
+
import { INavItemProps } from '../../types';
|
|
9
|
+
/**
|
|
10
|
+
* @extends ButtonHTMLAttributes<HTMLButtonElement>
|
|
11
|
+
*/
|
|
12
|
+
export declare const NavItem: React.ForwardRefExoticComponent<INavItemProps & React.RefAttributes<HTMLButtonElement>>;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Copyright Zendesk, Inc.
|
|
3
|
-
*
|
|
4
|
-
* Use of this source code is governed under the Apache License, Version 2.0
|
|
5
|
-
* found at http://www.apache.org/licenses/LICENSE-2.0.
|
|
6
|
-
*/
|
|
7
|
-
import React, { HTMLAttributes, PropsWithChildren } from 'react';
|
|
8
|
-
/**
|
|
9
|
-
* @extends HTMLAttributes<HTMLElement>
|
|
10
|
-
*/
|
|
11
|
-
export declare const NavItemIcon: ({ children, ...props }: PropsWithChildren<HTMLAttributes<HTMLElement>>) => React.JSX.Element | null;
|
|
1
|
+
/**
|
|
2
|
+
* Copyright Zendesk, Inc.
|
|
3
|
+
*
|
|
4
|
+
* Use of this source code is governed under the Apache License, Version 2.0
|
|
5
|
+
* found at http://www.apache.org/licenses/LICENSE-2.0.
|
|
6
|
+
*/
|
|
7
|
+
import React, { HTMLAttributes, PropsWithChildren } from 'react';
|
|
8
|
+
/**
|
|
9
|
+
* @extends HTMLAttributes<HTMLElement>
|
|
10
|
+
*/
|
|
11
|
+
export declare const NavItemIcon: ({ children, ...props }: PropsWithChildren<HTMLAttributes<HTMLElement>>) => React.JSX.Element | null;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Copyright Zendesk, Inc.
|
|
3
|
-
*
|
|
4
|
-
* Use of this source code is governed under the Apache License, Version 2.0
|
|
5
|
-
* found at http://www.apache.org/licenses/LICENSE-2.0.
|
|
6
|
-
*/
|
|
7
|
-
import React from 'react';
|
|
8
|
-
import { INavItemTextProps } from '../../types';
|
|
9
|
-
/**
|
|
10
|
-
* @extends HTMLAttributes<HTMLSpanElement>
|
|
11
|
-
*/
|
|
12
|
-
export declare const NavItemText: React.ForwardRefExoticComponent<INavItemTextProps & React.RefAttributes<HTMLElement>>;
|
|
1
|
+
/**
|
|
2
|
+
* Copyright Zendesk, Inc.
|
|
3
|
+
*
|
|
4
|
+
* Use of this source code is governed under the Apache License, Version 2.0
|
|
5
|
+
* found at http://www.apache.org/licenses/LICENSE-2.0.
|
|
6
|
+
*/
|
|
7
|
+
import React from 'react';
|
|
8
|
+
import { INavItemTextProps } from '../../types';
|
|
9
|
+
/**
|
|
10
|
+
* @extends HTMLAttributes<HTMLSpanElement>
|
|
11
|
+
*/
|
|
12
|
+
export declare const NavItemText: React.ForwardRefExoticComponent<INavItemTextProps & React.RefAttributes<HTMLElement>>;
|
|
@@ -1,27 +1,27 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Copyright Zendesk, Inc.
|
|
3
|
-
*
|
|
4
|
-
* Use of this source code is governed under the Apache License, Version 2.0
|
|
5
|
-
* found at http://www.apache.org/licenses/LICENSE-2.0.
|
|
6
|
-
*/
|
|
7
|
-
import React from 'react';
|
|
8
|
-
import { ISheetProps } from '../../types';
|
|
9
|
-
import { Title } from './components/Title';
|
|
10
|
-
import { Description } from './components/Description';
|
|
11
|
-
import { Header } from './components/Header';
|
|
12
|
-
import { Body } from './components/Body';
|
|
13
|
-
import { Footer } from './components/Footer';
|
|
14
|
-
import { FooterItem } from './components/FooterItem';
|
|
15
|
-
import { Close } from './components/Close';
|
|
16
|
-
/**
|
|
17
|
-
* @extends HTMLAttributes<HTMLElement>
|
|
18
|
-
*/
|
|
19
|
-
export declare const Sheet: React.ForwardRefExoticComponent<ISheetProps & React.RefAttributes<HTMLElement>> & {
|
|
20
|
-
Body: typeof Body;
|
|
21
|
-
Close: typeof Close;
|
|
22
|
-
Description: typeof Description;
|
|
23
|
-
Footer: typeof Footer;
|
|
24
|
-
FooterItem: typeof FooterItem;
|
|
25
|
-
Header: typeof Header;
|
|
26
|
-
Title: typeof Title;
|
|
27
|
-
};
|
|
1
|
+
/**
|
|
2
|
+
* Copyright Zendesk, Inc.
|
|
3
|
+
*
|
|
4
|
+
* Use of this source code is governed under the Apache License, Version 2.0
|
|
5
|
+
* found at http://www.apache.org/licenses/LICENSE-2.0.
|
|
6
|
+
*/
|
|
7
|
+
import React from 'react';
|
|
8
|
+
import { ISheetProps } from '../../types';
|
|
9
|
+
import { Title } from './components/Title';
|
|
10
|
+
import { Description } from './components/Description';
|
|
11
|
+
import { Header } from './components/Header';
|
|
12
|
+
import { Body } from './components/Body';
|
|
13
|
+
import { Footer } from './components/Footer';
|
|
14
|
+
import { FooterItem } from './components/FooterItem';
|
|
15
|
+
import { Close } from './components/Close';
|
|
16
|
+
/**
|
|
17
|
+
* @extends HTMLAttributes<HTMLElement>
|
|
18
|
+
*/
|
|
19
|
+
export declare const Sheet: React.ForwardRefExoticComponent<ISheetProps & React.RefAttributes<HTMLElement>> & {
|
|
20
|
+
Body: typeof Body;
|
|
21
|
+
Close: typeof Close;
|
|
22
|
+
Description: typeof Description;
|
|
23
|
+
Footer: typeof Footer;
|
|
24
|
+
FooterItem: typeof FooterItem;
|
|
25
|
+
Header: typeof Header;
|
|
26
|
+
Title: typeof Title;
|
|
27
|
+
};
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Copyright Zendesk, Inc.
|
|
3
|
-
*
|
|
4
|
-
* Use of this source code is governed under the Apache License, Version 2.0
|
|
5
|
-
* found at http://www.apache.org/licenses/LICENSE-2.0.
|
|
6
|
-
*/
|
|
7
|
-
import React from 'react';
|
|
8
|
-
/**
|
|
9
|
-
* @extends HTMLAttributes<HTMLDivElement>
|
|
10
|
-
*/
|
|
11
|
-
export declare const Body: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
|
|
1
|
+
/**
|
|
2
|
+
* Copyright Zendesk, Inc.
|
|
3
|
+
*
|
|
4
|
+
* Use of this source code is governed under the Apache License, Version 2.0
|
|
5
|
+
* found at http://www.apache.org/licenses/LICENSE-2.0.
|
|
6
|
+
*/
|
|
7
|
+
import React from 'react';
|
|
8
|
+
/**
|
|
9
|
+
* @extends HTMLAttributes<HTMLDivElement>
|
|
10
|
+
*/
|
|
11
|
+
export declare const Body: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Copyright Zendesk, Inc.
|
|
3
|
-
*
|
|
4
|
-
* Use of this source code is governed under the Apache License, Version 2.0
|
|
5
|
-
* found at http://www.apache.org/licenses/LICENSE-2.0.
|
|
6
|
-
*/
|
|
7
|
-
import React from 'react';
|
|
8
|
-
/**
|
|
9
|
-
* @extends ButtonHTMLAttributes<HTMLButtonElement>
|
|
10
|
-
*/
|
|
11
|
-
export declare const Close: React.ForwardRefExoticComponent<React.ButtonHTMLAttributes<HTMLButtonElement> & React.RefAttributes<HTMLButtonElement>>;
|
|
1
|
+
/**
|
|
2
|
+
* Copyright Zendesk, Inc.
|
|
3
|
+
*
|
|
4
|
+
* Use of this source code is governed under the Apache License, Version 2.0
|
|
5
|
+
* found at http://www.apache.org/licenses/LICENSE-2.0.
|
|
6
|
+
*/
|
|
7
|
+
import React from 'react';
|
|
8
|
+
/**
|
|
9
|
+
* @extends ButtonHTMLAttributes<HTMLButtonElement>
|
|
10
|
+
*/
|
|
11
|
+
export declare const Close: React.ForwardRefExoticComponent<React.ButtonHTMLAttributes<HTMLButtonElement> & React.RefAttributes<HTMLButtonElement>>;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Copyright Zendesk, Inc.
|
|
3
|
-
*
|
|
4
|
-
* Use of this source code is governed under the Apache License, Version 2.0
|
|
5
|
-
* found at http://www.apache.org/licenses/LICENSE-2.0.
|
|
6
|
-
*/
|
|
7
|
-
import React from 'react';
|
|
8
|
-
/**
|
|
9
|
-
* @extends HTMLAttributes<HTMLDivElement>
|
|
10
|
-
*/
|
|
11
|
-
export declare const Description: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
|
|
1
|
+
/**
|
|
2
|
+
* Copyright Zendesk, Inc.
|
|
3
|
+
*
|
|
4
|
+
* Use of this source code is governed under the Apache License, Version 2.0
|
|
5
|
+
* found at http://www.apache.org/licenses/LICENSE-2.0.
|
|
6
|
+
*/
|
|
7
|
+
import React from 'react';
|
|
8
|
+
/**
|
|
9
|
+
* @extends HTMLAttributes<HTMLDivElement>
|
|
10
|
+
*/
|
|
11
|
+
export declare const Description: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Copyright Zendesk, Inc.
|
|
3
|
-
*
|
|
4
|
-
* Use of this source code is governed under the Apache License, Version 2.0
|
|
5
|
-
* found at http://www.apache.org/licenses/LICENSE-2.0.
|
|
6
|
-
*/
|
|
7
|
-
import React from 'react';
|
|
8
|
-
import { ISheetFooterProps } from '../../../types';
|
|
9
|
-
/**
|
|
10
|
-
* @extends HTMLAttributes<HTMLElement>
|
|
11
|
-
*/
|
|
12
|
-
export declare const Footer: React.ForwardRefExoticComponent<ISheetFooterProps & React.RefAttributes<HTMLElement>>;
|
|
1
|
+
/**
|
|
2
|
+
* Copyright Zendesk, Inc.
|
|
3
|
+
*
|
|
4
|
+
* Use of this source code is governed under the Apache License, Version 2.0
|
|
5
|
+
* found at http://www.apache.org/licenses/LICENSE-2.0.
|
|
6
|
+
*/
|
|
7
|
+
import React from 'react';
|
|
8
|
+
import { ISheetFooterProps } from '../../../types';
|
|
9
|
+
/**
|
|
10
|
+
* @extends HTMLAttributes<HTMLElement>
|
|
11
|
+
*/
|
|
12
|
+
export declare const Footer: React.ForwardRefExoticComponent<ISheetFooterProps & React.RefAttributes<HTMLElement>>;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Copyright Zendesk, Inc.
|
|
3
|
-
*
|
|
4
|
-
* Use of this source code is governed under the Apache License, Version 2.0
|
|
5
|
-
* found at http://www.apache.org/licenses/LICENSE-2.0.
|
|
6
|
-
*/
|
|
7
|
-
import React from 'react';
|
|
8
|
-
/**
|
|
9
|
-
* @extends HTMLAttributes<HTMLDivElement>
|
|
10
|
-
*/
|
|
11
|
-
export declare const FooterItem: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
|
|
1
|
+
/**
|
|
2
|
+
* Copyright Zendesk, Inc.
|
|
3
|
+
*
|
|
4
|
+
* Use of this source code is governed under the Apache License, Version 2.0
|
|
5
|
+
* found at http://www.apache.org/licenses/LICENSE-2.0.
|
|
6
|
+
*/
|
|
7
|
+
import React from 'react';
|
|
8
|
+
/**
|
|
9
|
+
* @extends HTMLAttributes<HTMLDivElement>
|
|
10
|
+
*/
|
|
11
|
+
export declare const FooterItem: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Copyright Zendesk, Inc.
|
|
3
|
-
*
|
|
4
|
-
* Use of this source code is governed under the Apache License, Version 2.0
|
|
5
|
-
* found at http://www.apache.org/licenses/LICENSE-2.0.
|
|
6
|
-
*/
|
|
7
|
-
import React from 'react';
|
|
8
|
-
/**
|
|
9
|
-
* @extends HTMLAttributes<HTMLElement>
|
|
10
|
-
*/
|
|
11
|
-
export declare const Header: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLElement> & React.RefAttributes<HTMLElement>>;
|
|
1
|
+
/**
|
|
2
|
+
* Copyright Zendesk, Inc.
|
|
3
|
+
*
|
|
4
|
+
* Use of this source code is governed under the Apache License, Version 2.0
|
|
5
|
+
* found at http://www.apache.org/licenses/LICENSE-2.0.
|
|
6
|
+
*/
|
|
7
|
+
import React from 'react';
|
|
8
|
+
/**
|
|
9
|
+
* @extends HTMLAttributes<HTMLElement>
|
|
10
|
+
*/
|
|
11
|
+
export declare const Header: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLElement> & React.RefAttributes<HTMLElement>>;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Copyright Zendesk, Inc.
|
|
3
|
-
*
|
|
4
|
-
* Use of this source code is governed under the Apache License, Version 2.0
|
|
5
|
-
* found at http://www.apache.org/licenses/LICENSE-2.0.
|
|
6
|
-
*/
|
|
7
|
-
import React from 'react';
|
|
8
|
-
/**
|
|
9
|
-
* @extends HTMLAttributes<HTMLDivElement>
|
|
10
|
-
*/
|
|
11
|
-
export declare const Title: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
|
|
1
|
+
/**
|
|
2
|
+
* Copyright Zendesk, Inc.
|
|
3
|
+
*
|
|
4
|
+
* Use of this source code is governed under the Apache License, Version 2.0
|
|
5
|
+
* found at http://www.apache.org/licenses/LICENSE-2.0.
|
|
6
|
+
*/
|
|
7
|
+
import React from 'react';
|
|
8
|
+
/**
|
|
9
|
+
* @extends HTMLAttributes<HTMLDivElement>
|
|
10
|
+
*/
|
|
11
|
+
export declare const Title: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Copyright Zendesk, Inc.
|
|
3
|
-
*
|
|
4
|
-
* Use of this source code is governed under the Apache License, Version 2.0
|
|
5
|
-
* found at http://www.apache.org/licenses/LICENSE-2.0.
|
|
6
|
-
*/
|
|
7
|
-
import React from 'react';
|
|
8
|
-
import { ICollapsibleSubNavItemProps } from '../../types';
|
|
9
|
-
/**
|
|
10
|
-
* @extends ButtonHTMLAttributes<HTMLButtonElement>
|
|
11
|
-
*/
|
|
12
|
-
export declare const CollapsibleSubNavItem: React.ForwardRefExoticComponent<ICollapsibleSubNavItemProps & React.RefAttributes<HTMLDivElement>>;
|
|
1
|
+
/**
|
|
2
|
+
* Copyright Zendesk, Inc.
|
|
3
|
+
*
|
|
4
|
+
* Use of this source code is governed under the Apache License, Version 2.0
|
|
5
|
+
* found at http://www.apache.org/licenses/LICENSE-2.0.
|
|
6
|
+
*/
|
|
7
|
+
import React from 'react';
|
|
8
|
+
import { ICollapsibleSubNavItemProps } from '../../types';
|
|
9
|
+
/**
|
|
10
|
+
* @extends ButtonHTMLAttributes<HTMLButtonElement>
|
|
11
|
+
*/
|
|
12
|
+
export declare const CollapsibleSubNavItem: React.ForwardRefExoticComponent<ICollapsibleSubNavItemProps & React.RefAttributes<HTMLDivElement>>;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Copyright Zendesk, Inc.
|
|
3
|
-
*
|
|
4
|
-
* Use of this source code is governed under the Apache License, Version 2.0
|
|
5
|
-
* found at http://www.apache.org/licenses/LICENSE-2.0.
|
|
6
|
-
*/
|
|
7
|
-
import React from 'react';
|
|
8
|
-
/**
|
|
9
|
-
* @extends HTMLAttributes<HTMLElement>
|
|
10
|
-
*/
|
|
11
|
-
export declare const SubNav: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLElement> & React.RefAttributes<HTMLElement>>;
|
|
1
|
+
/**
|
|
2
|
+
* Copyright Zendesk, Inc.
|
|
3
|
+
*
|
|
4
|
+
* Use of this source code is governed under the Apache License, Version 2.0
|
|
5
|
+
* found at http://www.apache.org/licenses/LICENSE-2.0.
|
|
6
|
+
*/
|
|
7
|
+
import React from 'react';
|
|
8
|
+
/**
|
|
9
|
+
* @extends HTMLAttributes<HTMLElement>
|
|
10
|
+
*/
|
|
11
|
+
export declare const SubNav: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLElement> & React.RefAttributes<HTMLElement>>;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Copyright Zendesk, Inc.
|
|
3
|
-
*
|
|
4
|
-
* Use of this source code is governed under the Apache License, Version 2.0
|
|
5
|
-
* found at http://www.apache.org/licenses/LICENSE-2.0.
|
|
6
|
-
*/
|
|
7
|
-
import React from 'react';
|
|
8
|
-
import { ISubNavItemProps } from '../../types';
|
|
9
|
-
/**
|
|
10
|
-
* @extends ButtonHTMLAttributes<HTMLButtonElement>
|
|
11
|
-
*/
|
|
12
|
-
export declare const SubNavItem: React.ForwardRefExoticComponent<ISubNavItemProps & React.RefAttributes<HTMLButtonElement>>;
|
|
1
|
+
/**
|
|
2
|
+
* Copyright Zendesk, Inc.
|
|
3
|
+
*
|
|
4
|
+
* Use of this source code is governed under the Apache License, Version 2.0
|
|
5
|
+
* found at http://www.apache.org/licenses/LICENSE-2.0.
|
|
6
|
+
*/
|
|
7
|
+
import React from 'react';
|
|
8
|
+
import { ISubNavItemProps } from '../../types';
|
|
9
|
+
/**
|
|
10
|
+
* @extends ButtonHTMLAttributes<HTMLButtonElement>
|
|
11
|
+
*/
|
|
12
|
+
export declare const SubNavItem: React.ForwardRefExoticComponent<ISubNavItemProps & React.RefAttributes<HTMLButtonElement>>;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Copyright Zendesk, Inc.
|
|
3
|
-
*
|
|
4
|
-
* Use of this source code is governed under the Apache License, Version 2.0
|
|
5
|
-
* found at http://www.apache.org/licenses/LICENSE-2.0.
|
|
6
|
-
*/
|
|
7
|
-
import React from 'react';
|
|
8
|
-
import { ISubNavItemTextProps } from '../../types';
|
|
9
|
-
/**
|
|
10
|
-
* @extends HTMLAttributes<HTMLSpanElement>
|
|
11
|
-
*/
|
|
12
|
-
export declare const SubNavItemText: React.ForwardRefExoticComponent<ISubNavItemTextProps & React.RefAttributes<HTMLElement>>;
|
|
1
|
+
/**
|
|
2
|
+
* Copyright Zendesk, Inc.
|
|
3
|
+
*
|
|
4
|
+
* Use of this source code is governed under the Apache License, Version 2.0
|
|
5
|
+
* found at http://www.apache.org/licenses/LICENSE-2.0.
|
|
6
|
+
*/
|
|
7
|
+
import React from 'react';
|
|
8
|
+
import { ISubNavItemTextProps } from '../../types';
|
|
9
|
+
/**
|
|
10
|
+
* @extends HTMLAttributes<HTMLSpanElement>
|
|
11
|
+
*/
|
|
12
|
+
export declare const SubNavItemText: React.ForwardRefExoticComponent<ISubNavItemTextProps & React.RefAttributes<HTMLElement>>;
|
package/dist/typings/index.d.ts
CHANGED
|
@@ -1,32 +1,32 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Copyright Zendesk, Inc.
|
|
3
|
-
*
|
|
4
|
-
* Use of this source code is governed under the Apache License, Version 2.0
|
|
5
|
-
* found at http://www.apache.org/licenses/LICENSE-2.0.
|
|
6
|
-
*/
|
|
7
|
-
export { Chrome } from './elements/Chrome';
|
|
8
|
-
export { SkipNav } from './elements/SkipNav';
|
|
9
|
-
export { Body } from './elements/body/Body';
|
|
10
|
-
export { Content } from './elements/body/Content';
|
|
11
|
-
export { Main } from './elements/body/Main';
|
|
12
|
-
export { Sidebar } from './elements/body/Sidebar';
|
|
13
|
-
export { Header } from './elements/header/Header';
|
|
14
|
-
export { HeaderItem } from './elements/header/HeaderItem';
|
|
15
|
-
export { HeaderItemIcon } from './elements/header/HeaderItemIcon';
|
|
16
|
-
export { HeaderItemText } from './elements/header/HeaderItemText';
|
|
17
|
-
export { HeaderItemWrapper } from './elements/header/HeaderItemWrapper';
|
|
18
|
-
export { Footer } from './elements/footer/Footer';
|
|
19
|
-
export { FooterItem } from './elements/footer/FooterItem';
|
|
20
|
-
export { Nav } from './elements/nav/Nav';
|
|
21
|
-
export { NavItem } from './elements/nav/NavItem';
|
|
22
|
-
export { NavItemIcon } from './elements/nav/NavItemIcon';
|
|
23
|
-
export { NavItemText } from './elements/nav/NavItemText';
|
|
24
|
-
export { SubNav } from './elements/subnav/SubNav';
|
|
25
|
-
export { SubNavItem } from './elements/subnav/SubNavItem';
|
|
26
|
-
export { SubNavItemText } from './elements/subnav/SubNavItemText';
|
|
27
|
-
export { CollapsibleSubNavItem } from './elements/subnav/CollapsibleSubNavItem';
|
|
28
|
-
export { Sheet } from './elements/sheet/Sheet';
|
|
29
|
-
export { PRODUCT as PRODUCTS } from './types';
|
|
30
|
-
export type { IChromeProps, ISkipNavProps, IBodyProps, IHeaderProps, IHeaderItemProps, IHeaderItemTextProps, IHeaderItemWrapperProps, INavProps, INavItemProps, INavItemTextProps, ISubNavItemProps, ICollapsibleSubNavItemProps, ISheetProps, ISheetFooterProps,
|
|
31
|
-
/** @deprecated can be accessed via IHeaderItemProps['product'] */
|
|
32
|
-
Product as PRODUCT } from './types';
|
|
1
|
+
/**
|
|
2
|
+
* Copyright Zendesk, Inc.
|
|
3
|
+
*
|
|
4
|
+
* Use of this source code is governed under the Apache License, Version 2.0
|
|
5
|
+
* found at http://www.apache.org/licenses/LICENSE-2.0.
|
|
6
|
+
*/
|
|
7
|
+
export { Chrome } from './elements/Chrome';
|
|
8
|
+
export { SkipNav } from './elements/SkipNav';
|
|
9
|
+
export { Body } from './elements/body/Body';
|
|
10
|
+
export { Content } from './elements/body/Content';
|
|
11
|
+
export { Main } from './elements/body/Main';
|
|
12
|
+
export { Sidebar } from './elements/body/Sidebar';
|
|
13
|
+
export { Header } from './elements/header/Header';
|
|
14
|
+
export { HeaderItem } from './elements/header/HeaderItem';
|
|
15
|
+
export { HeaderItemIcon } from './elements/header/HeaderItemIcon';
|
|
16
|
+
export { HeaderItemText } from './elements/header/HeaderItemText';
|
|
17
|
+
export { HeaderItemWrapper } from './elements/header/HeaderItemWrapper';
|
|
18
|
+
export { Footer } from './elements/footer/Footer';
|
|
19
|
+
export { FooterItem } from './elements/footer/FooterItem';
|
|
20
|
+
export { Nav } from './elements/nav/Nav';
|
|
21
|
+
export { NavItem } from './elements/nav/NavItem';
|
|
22
|
+
export { NavItemIcon } from './elements/nav/NavItemIcon';
|
|
23
|
+
export { NavItemText } from './elements/nav/NavItemText';
|
|
24
|
+
export { SubNav } from './elements/subnav/SubNav';
|
|
25
|
+
export { SubNavItem } from './elements/subnav/SubNavItem';
|
|
26
|
+
export { SubNavItemText } from './elements/subnav/SubNavItemText';
|
|
27
|
+
export { CollapsibleSubNavItem } from './elements/subnav/CollapsibleSubNavItem';
|
|
28
|
+
export { Sheet } from './elements/sheet/Sheet';
|
|
29
|
+
export { PRODUCT as PRODUCTS } from './types';
|
|
30
|
+
export type { IChromeProps, ISkipNavProps, IBodyProps, IHeaderProps, IHeaderItemProps, IHeaderItemTextProps, IHeaderItemWrapperProps, INavProps, INavItemProps, INavItemTextProps, ISubNavItemProps, ICollapsibleSubNavItemProps, ISheetProps, ISheetFooterProps,
|
|
31
|
+
/** @deprecated can be accessed via IHeaderItemProps['product'] */
|
|
32
|
+
Product as PRODUCT } from './types';
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Copyright Zendesk, Inc.
|
|
3
|
-
*
|
|
4
|
-
* Use of this source code is governed under the Apache License, Version 2.0
|
|
5
|
-
* found at http://www.apache.org/licenses/LICENSE-2.0.
|
|
6
|
-
*/
|
|
7
|
-
/**
|
|
8
|
-
* 1. Prevent "bounce" overscroll.
|
|
9
|
-
*/
|
|
10
|
-
export declare const StyledChrome: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
|
|
11
|
-
'data-garden-id': string;
|
|
12
|
-
'data-garden-version': string;
|
|
13
|
-
}, "data-garden-id" | "data-garden-version">;
|
|
1
|
+
/**
|
|
2
|
+
* Copyright Zendesk, Inc.
|
|
3
|
+
*
|
|
4
|
+
* Use of this source code is governed under the Apache License, Version 2.0
|
|
5
|
+
* found at http://www.apache.org/licenses/LICENSE-2.0.
|
|
6
|
+
*/
|
|
7
|
+
/**
|
|
8
|
+
* 1. Prevent "bounce" overscroll.
|
|
9
|
+
*/
|
|
10
|
+
export declare const StyledChrome: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
|
|
11
|
+
'data-garden-id': string;
|
|
12
|
+
'data-garden-version': string;
|
|
13
|
+
}, "data-garden-id" | "data-garden-version">;
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Copyright Zendesk, Inc.
|
|
3
|
-
*
|
|
4
|
-
* Use of this source code is governed under the Apache License, Version 2.0
|
|
5
|
-
* found at http://www.apache.org/licenses/LICENSE-2.0.
|
|
6
|
-
*/
|
|
7
|
-
import { DefaultTheme } from 'styled-components';
|
|
8
|
-
interface IStyledSkipNavProps {
|
|
9
|
-
zIndex?: number;
|
|
10
|
-
}
|
|
11
|
-
/**
|
|
12
|
-
* 1. breaking LVHFA order for `<a>` to underline when focused and hovered
|
|
13
|
-
*/
|
|
14
|
-
export declare const StyledSkipNav: import("styled-components").StyledComponent<"a", DefaultTheme, {
|
|
15
|
-
'data-garden-id': string;
|
|
16
|
-
'data-garden-version': string;
|
|
17
|
-
} & IStyledSkipNavProps, "data-garden-id" | "data-garden-version">;
|
|
18
|
-
export {};
|
|
1
|
+
/**
|
|
2
|
+
* Copyright Zendesk, Inc.
|
|
3
|
+
*
|
|
4
|
+
* Use of this source code is governed under the Apache License, Version 2.0
|
|
5
|
+
* found at http://www.apache.org/licenses/LICENSE-2.0.
|
|
6
|
+
*/
|
|
7
|
+
import { DefaultTheme } from 'styled-components';
|
|
8
|
+
interface IStyledSkipNavProps {
|
|
9
|
+
zIndex?: number;
|
|
10
|
+
}
|
|
11
|
+
/**
|
|
12
|
+
* 1. breaking LVHFA order for `<a>` to underline when focused and hovered
|
|
13
|
+
*/
|
|
14
|
+
export declare const StyledSkipNav: import("styled-components").StyledComponent<"a", DefaultTheme, {
|
|
15
|
+
'data-garden-id': string;
|
|
16
|
+
'data-garden-version': string;
|
|
17
|
+
} & IStyledSkipNavProps, "data-garden-id" | "data-garden-version">;
|
|
18
|
+
export {};
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Copyright Zendesk, Inc.
|
|
3
|
-
*
|
|
4
|
-
* Use of this source code is governed under the Apache License, Version 2.0
|
|
5
|
-
* found at http://www.apache.org/licenses/LICENSE-2.0.
|
|
6
|
-
*/
|
|
7
|
-
import { ThemeProps, DefaultTheme } from 'styled-components';
|
|
8
|
-
export declare const StyledSkipNavIcon: import("styled-components").StyledComponent<any, DefaultTheme, object & {
|
|
9
|
-
'data-garden-id': string;
|
|
10
|
-
'data-garden-version': string;
|
|
11
|
-
} & ThemeProps<DefaultTheme>, string | number | symbol>;
|
|
1
|
+
/**
|
|
2
|
+
* Copyright Zendesk, Inc.
|
|
3
|
+
*
|
|
4
|
+
* Use of this source code is governed under the Apache License, Version 2.0
|
|
5
|
+
* found at http://www.apache.org/licenses/LICENSE-2.0.
|
|
6
|
+
*/
|
|
7
|
+
import { ThemeProps, DefaultTheme } from 'styled-components';
|
|
8
|
+
export declare const StyledSkipNavIcon: import("styled-components").StyledComponent<any, DefaultTheme, object & {
|
|
9
|
+
'data-garden-id': string;
|
|
10
|
+
'data-garden-version': string;
|
|
11
|
+
} & ThemeProps<DefaultTheme>, string | number | symbol>;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Copyright Zendesk, Inc.
|
|
3
|
-
*
|
|
4
|
-
* Use of this source code is governed under the Apache License, Version 2.0
|
|
5
|
-
* found at http://www.apache.org/licenses/LICENSE-2.0.
|
|
6
|
-
*/
|
|
7
|
-
export declare const StyledBody: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
|
|
8
|
-
'data-garden-id': string;
|
|
9
|
-
'data-garden-version': string;
|
|
10
|
-
}, "data-garden-id" | "data-garden-version">;
|
|
1
|
+
/**
|
|
2
|
+
* Copyright Zendesk, Inc.
|
|
3
|
+
*
|
|
4
|
+
* Use of this source code is governed under the Apache License, Version 2.0
|
|
5
|
+
* found at http://www.apache.org/licenses/LICENSE-2.0.
|
|
6
|
+
*/
|
|
7
|
+
export declare const StyledBody: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
|
|
8
|
+
'data-garden-id': string;
|
|
9
|
+
'data-garden-version': string;
|
|
10
|
+
}, "data-garden-id" | "data-garden-version">;
|