@zendeskgarden/react-chrome 8.75.1 → 8.76.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/esm/elements/Chrome.js +99 -0
- package/dist/esm/elements/SkipNav.js +70 -0
- package/dist/esm/elements/body/Body.js +68 -0
- package/dist/esm/elements/body/Content.js +59 -0
- package/dist/esm/elements/body/Main.js +52 -0
- package/dist/esm/elements/body/Sidebar.js +52 -0
- package/dist/esm/elements/footer/Footer.js +52 -0
- package/dist/esm/elements/footer/FooterItem.js +52 -0
- package/dist/esm/elements/header/Header.js +56 -0
- package/dist/esm/elements/header/HeaderItem.js +74 -0
- package/dist/esm/elements/header/HeaderItemIcon.js +71 -0
- package/dist/esm/elements/header/HeaderItemText.js +56 -0
- package/dist/esm/elements/header/HeaderItemWrapper.js +52 -0
- package/dist/esm/elements/nav/Nav.js +74 -0
- package/dist/esm/elements/nav/NavItem.js +98 -0
- package/dist/esm/elements/nav/NavItemIcon.js +71 -0
- package/dist/esm/elements/nav/NavItemText.js +63 -0
- package/dist/esm/elements/sheet/Sheet.js +133 -0
- package/dist/esm/elements/sheet/components/Body.js +55 -0
- package/dist/esm/elements/sheet/components/Close.js +65 -0
- package/dist/esm/elements/sheet/components/Description.js +64 -0
- package/dist/esm/elements/sheet/components/Footer.js +55 -0
- package/dist/esm/elements/sheet/components/FooterItem.js +55 -0
- package/dist/esm/elements/sheet/components/Header.js +60 -0
- package/dist/esm/elements/sheet/components/Title.js +64 -0
- package/dist/esm/elements/subnav/CollapsibleSubNavItem.js +120 -0
- package/dist/esm/elements/subnav/SubNav.js +63 -0
- package/dist/esm/elements/subnav/SubNavItem.js +65 -0
- package/dist/esm/elements/subnav/SubNavItemText.js +56 -0
- package/dist/esm/index.js +29 -0
- package/dist/esm/node_modules/@zendeskgarden/svg-icons/src/12/chevron-down-stroke.svg.js +25 -0
- package/dist/esm/node_modules/@zendeskgarden/svg-icons/src/16/link-stroke.svg.js +25 -0
- package/dist/esm/node_modules/@zendeskgarden/svg-icons/src/16/x-stroke.svg.js +26 -0
- package/dist/esm/styled/StyledChrome.js +22 -0
- package/dist/esm/styled/StyledSkipNav.js +46 -0
- package/dist/esm/styled/StyledSkipNavIcon.js +28 -0
- package/dist/esm/styled/body/StyledBody.js +22 -0
- package/dist/esm/styled/body/StyledContent.js +25 -0
- package/dist/esm/styled/body/StyledMain.js +22 -0
- package/dist/esm/styled/body/StyledSidebar.js +22 -0
- package/dist/esm/styled/footer/StyledFooter.js +25 -0
- package/dist/esm/styled/footer/StyledFooterItem.js +22 -0
- package/dist/esm/styled/header/StyledBaseHeaderItem.js +35 -0
- package/dist/esm/styled/header/StyledHeader.js +31 -0
- package/dist/esm/styled/header/StyledHeaderItem.js +37 -0
- package/dist/esm/styled/header/StyledHeaderItemIcon.js +22 -0
- package/dist/esm/styled/header/StyledHeaderItemText.js +23 -0
- package/dist/esm/styled/header/StyledHeaderItemWrapper.js +24 -0
- package/dist/esm/styled/header/StyledLogoHeaderItem.js +47 -0
- package/dist/esm/styled/nav/StyledBaseNavItem.js +32 -0
- package/dist/esm/styled/nav/StyledBrandmarkNavItem.js +24 -0
- package/dist/esm/styled/nav/StyledLogoNavItem.js +49 -0
- package/dist/esm/styled/nav/StyledNav.js +34 -0
- package/dist/esm/styled/nav/StyledNavItem.js +65 -0
- package/dist/esm/styled/nav/StyledNavItemIcon.js +22 -0
- package/dist/esm/styled/nav/StyledNavItemText.js +34 -0
- package/dist/esm/styled/sheet/StyledSheet.js +41 -0
- package/dist/esm/styled/sheet/StyledSheetBody.js +22 -0
- package/dist/esm/styled/sheet/StyledSheetClose.js +34 -0
- package/dist/esm/styled/sheet/StyledSheetDescription.js +22 -0
- package/dist/esm/styled/sheet/StyledSheetFooter.js +22 -0
- package/dist/esm/styled/sheet/StyledSheetFooterItem.js +22 -0
- package/dist/esm/styled/sheet/StyledSheetHeader.js +23 -0
- package/dist/esm/styled/sheet/StyledSheetTitle.js +22 -0
- package/dist/esm/styled/sheet/StyledSheetWrapper.js +37 -0
- package/dist/esm/styled/subnav/StyledSubNav.js +34 -0
- package/dist/esm/styled/subnav/StyledSubNavItem.js +55 -0
- package/dist/esm/styled/subnav/StyledSubNavItemHeader.js +24 -0
- package/dist/esm/styled/subnav/StyledSubNavItemIcon.js +43 -0
- package/dist/esm/styled/subnav/StyledSubNavItemText.js +30 -0
- package/dist/esm/styled/subnav/StyledSubNavPanel.js +24 -0
- package/dist/esm/types/index.js +10 -0
- package/dist/esm/utils/useBodyContext.js +16 -0
- package/dist/esm/utils/useChromeContext.js +16 -0
- package/dist/esm/utils/useFocusableMount.js +31 -0
- package/dist/esm/utils/useNavContext.js +16 -0
- package/dist/esm/utils/useSheetContext.js +16 -0
- package/dist/index.cjs.js +78 -94
- package/package.json +5 -5
- package/dist/index.esm.js +0 -1449
|
@@ -0,0 +1,24 @@
|
|
|
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 styled from 'styled-components';
|
|
8
|
+
import { retrieveComponentStyles, DEFAULT_THEME } from '@zendeskgarden/react-theming';
|
|
9
|
+
import { StyledBaseHeaderItem } from './StyledBaseHeaderItem.js';
|
|
10
|
+
|
|
11
|
+
const COMPONENT_ID = 'chrome.header_item_wrapper';
|
|
12
|
+
const StyledHeaderItemWrapper = styled(StyledBaseHeaderItem).attrs({
|
|
13
|
+
'data-garden-id': COMPONENT_ID,
|
|
14
|
+
'data-garden-version': '8.76.0',
|
|
15
|
+
as: 'div'
|
|
16
|
+
}).withConfig({
|
|
17
|
+
displayName: "StyledHeaderItemWrapper",
|
|
18
|
+
componentId: "sc-1uieu55-0"
|
|
19
|
+
})(["", ";"], props => retrieveComponentStyles(COMPONENT_ID, props));
|
|
20
|
+
StyledHeaderItemWrapper.defaultProps = {
|
|
21
|
+
theme: DEFAULT_THEME
|
|
22
|
+
};
|
|
23
|
+
|
|
24
|
+
export { StyledHeaderItemWrapper };
|
|
@@ -0,0 +1,47 @@
|
|
|
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 styled from 'styled-components';
|
|
8
|
+
import { getColorV8, retrieveComponentStyles, DEFAULT_THEME, PALETTE } from '@zendeskgarden/react-theming';
|
|
9
|
+
import { StyledHeaderItemIcon } from './StyledHeaderItemIcon.js';
|
|
10
|
+
import { StyledBaseHeaderItem } from './StyledBaseHeaderItem.js';
|
|
11
|
+
import { StyledHeaderItemText, clippedStyling } from './StyledHeaderItemText.js';
|
|
12
|
+
import { getNavWidth } from '../nav/StyledNav.js';
|
|
13
|
+
|
|
14
|
+
const COMPONENT_ID = 'chrome.header_item';
|
|
15
|
+
const retrieveProductColor = props => {
|
|
16
|
+
switch (props.product) {
|
|
17
|
+
case 'chat':
|
|
18
|
+
return PALETTE.product.chat;
|
|
19
|
+
case 'connect':
|
|
20
|
+
return PALETTE.product.connect;
|
|
21
|
+
case 'explore':
|
|
22
|
+
return PALETTE.product.explore;
|
|
23
|
+
case 'guide':
|
|
24
|
+
return PALETTE.product.guide;
|
|
25
|
+
case 'message':
|
|
26
|
+
return PALETTE.product.message;
|
|
27
|
+
case 'support':
|
|
28
|
+
return PALETTE.product.support;
|
|
29
|
+
case 'talk':
|
|
30
|
+
return PALETTE.product.talk;
|
|
31
|
+
default:
|
|
32
|
+
return 'inherit';
|
|
33
|
+
}
|
|
34
|
+
};
|
|
35
|
+
const StyledLogoHeaderItem = styled(StyledBaseHeaderItem).attrs({
|
|
36
|
+
'data-garden-id': COMPONENT_ID,
|
|
37
|
+
'data-garden-version': '8.76.0',
|
|
38
|
+
as: 'div'
|
|
39
|
+
}).withConfig({
|
|
40
|
+
displayName: "StyledLogoHeaderItem",
|
|
41
|
+
componentId: "sc-1n1d1yv-0"
|
|
42
|
+
})(["display:none;order:0;margin-right:", ";margin-left:", ";border-", ":", ";border-radius:0;padding:0;width:", ";height:100%;overflow:hidden;fill:", ";text-decoration:none;color:", ";", "{", "}", "{margin:0;width:", ";height:", ";}", ";"], props => props.theme.rtl ? `-${props.theme.space.base}px` : 'auto', props => props.theme.rtl ? 'auto' : `-${props.theme.space.base}px`, props => props.theme.rtl ? 'left' : 'right', props => `${props.theme.borders.sm} ${getColorV8('neutralHue', 300, props.theme)}`, props => getNavWidth(props), props => getColorV8('chromeHue', 700, props.theme), props => retrieveProductColor(props), StyledHeaderItemText, clippedStyling, StyledHeaderItemIcon, props => props.theme.iconSizes.lg, props => props.theme.iconSizes.lg, props => retrieveComponentStyles(COMPONENT_ID, props));
|
|
43
|
+
StyledLogoHeaderItem.defaultProps = {
|
|
44
|
+
theme: DEFAULT_THEME
|
|
45
|
+
};
|
|
46
|
+
|
|
47
|
+
export { StyledLogoHeaderItem };
|
|
@@ -0,0 +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
|
+
import styled, { css } from 'styled-components';
|
|
8
|
+
import { math } from 'polished';
|
|
9
|
+
import { DEFAULT_THEME } from '@zendeskgarden/react-theming';
|
|
10
|
+
import { getNavWidth } from './StyledNav.js';
|
|
11
|
+
|
|
12
|
+
const COMPONENT_ID = 'chrome.base_nav_item';
|
|
13
|
+
const getNavItemHeight = props => {
|
|
14
|
+
return `${props.theme.space.base * 13}px`;
|
|
15
|
+
};
|
|
16
|
+
const sizeStyles = props => {
|
|
17
|
+
const verticalPadding = math(`(${getNavItemHeight(props)} - ${props.theme.iconSizes.lg}) / 2`);
|
|
18
|
+
const horizontalPadding = math(`(${getNavWidth(props)} - ${props.theme.iconSizes.lg}) / 4`);
|
|
19
|
+
return css(["padding:", " ", ";min-height:", ";"], verticalPadding, horizontalPadding, getNavItemHeight);
|
|
20
|
+
};
|
|
21
|
+
const StyledBaseNavItem = styled.button.attrs({
|
|
22
|
+
'data-garden-id': COMPONENT_ID,
|
|
23
|
+
'data-garden-version': '8.76.0'
|
|
24
|
+
}).withConfig({
|
|
25
|
+
displayName: "StyledBaseNavItem",
|
|
26
|
+
componentId: "sc-zvo43f-0"
|
|
27
|
+
})(["display:flex;flex-shrink:0;align-items:center;justify-content:center;transition:outline-color 0.1s ease-in-out,box-shadow 0.1s ease-in-out,background-color 0.1s ease-in-out,opacity 0.1s ease-in-out;border:none;box-sizing:border-box;background:transparent;text-decoration:none;color:inherit;font-size:inherit;", ""], props => sizeStyles(props));
|
|
28
|
+
StyledBaseNavItem.defaultProps = {
|
|
29
|
+
theme: DEFAULT_THEME
|
|
30
|
+
};
|
|
31
|
+
|
|
32
|
+
export { StyledBaseNavItem, getNavItemHeight };
|
|
@@ -0,0 +1,24 @@
|
|
|
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 styled from 'styled-components';
|
|
8
|
+
import { DEFAULT_THEME } from '@zendeskgarden/react-theming';
|
|
9
|
+
import { StyledBaseNavItem } from './StyledBaseNavItem.js';
|
|
10
|
+
|
|
11
|
+
const COMPONENT_ID = 'chrome.brandmark_nav_item';
|
|
12
|
+
const StyledBrandmarkNavItem = styled(StyledBaseNavItem).attrs({
|
|
13
|
+
'data-garden-id': COMPONENT_ID,
|
|
14
|
+
'data-garden-version': '8.76.0',
|
|
15
|
+
as: 'div'
|
|
16
|
+
}).withConfig({
|
|
17
|
+
displayName: "StyledBrandmarkNavItem",
|
|
18
|
+
componentId: "sc-8kynd4-0"
|
|
19
|
+
})(["order:1;opacity:0.3;margin-top:auto;"]);
|
|
20
|
+
StyledBrandmarkNavItem.defaultProps = {
|
|
21
|
+
theme: DEFAULT_THEME
|
|
22
|
+
};
|
|
23
|
+
|
|
24
|
+
export { StyledBrandmarkNavItem };
|
|
@@ -0,0 +1,49 @@
|
|
|
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 styled, { css } from 'styled-components';
|
|
8
|
+
import { DEFAULT_THEME, PALETTE } from '@zendeskgarden/react-theming';
|
|
9
|
+
import { StyledBaseNavItem } from './StyledBaseNavItem.js';
|
|
10
|
+
|
|
11
|
+
const COMPONENT_ID = 'chrome.logo_nav_item';
|
|
12
|
+
const retrieveProductColor = product => {
|
|
13
|
+
switch (product) {
|
|
14
|
+
case 'chat':
|
|
15
|
+
return PALETTE.product.chat;
|
|
16
|
+
case 'connect':
|
|
17
|
+
return PALETTE.product.connect;
|
|
18
|
+
case 'explore':
|
|
19
|
+
return PALETTE.product.explore;
|
|
20
|
+
case 'guide':
|
|
21
|
+
return PALETTE.product.guide;
|
|
22
|
+
case 'message':
|
|
23
|
+
return PALETTE.product.message;
|
|
24
|
+
case 'support':
|
|
25
|
+
return PALETTE.product.support;
|
|
26
|
+
case 'talk':
|
|
27
|
+
return PALETTE.product.talk;
|
|
28
|
+
default:
|
|
29
|
+
return 'inherit';
|
|
30
|
+
}
|
|
31
|
+
};
|
|
32
|
+
const colorStyles = props => {
|
|
33
|
+
const fillColor = props.isLight ? props.theme.palette.grey[800] : props.theme.palette.white;
|
|
34
|
+
const color = props.isLight || props.isDark ? fillColor : retrieveProductColor(props.product);
|
|
35
|
+
return css(["color:", ";fill:", ";"], color, fillColor);
|
|
36
|
+
};
|
|
37
|
+
const StyledLogoNavItem = styled(StyledBaseNavItem).attrs({
|
|
38
|
+
'data-garden-id': COMPONENT_ID,
|
|
39
|
+
'data-garden-version': '8.76.0',
|
|
40
|
+
as: 'div'
|
|
41
|
+
}).withConfig({
|
|
42
|
+
displayName: "StyledLogoNavItem",
|
|
43
|
+
componentId: "sc-saaydx-0"
|
|
44
|
+
})(["order:0;opacity:1;cursor:default;", ";"], props => colorStyles(props));
|
|
45
|
+
StyledLogoNavItem.defaultProps = {
|
|
46
|
+
theme: DEFAULT_THEME
|
|
47
|
+
};
|
|
48
|
+
|
|
49
|
+
export { StyledLogoNavItem };
|
|
@@ -0,0 +1,34 @@
|
|
|
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 styled, { css } from 'styled-components';
|
|
8
|
+
import { retrieveComponentStyles, DEFAULT_THEME, getColorV8 } from '@zendeskgarden/react-theming';
|
|
9
|
+
|
|
10
|
+
const COMPONENT_ID = 'chrome.nav';
|
|
11
|
+
const colorStyles = props => {
|
|
12
|
+
const shade = props.isDark || props.isLight ? 600 : 700;
|
|
13
|
+
const backgroundColor = getColorV8(props.hue, shade, props.theme);
|
|
14
|
+
const foregroundColor = props.isLight ? props.theme.palette.black : props.theme.palette.white;
|
|
15
|
+
return css(["background-color:", ";color:", ";"], backgroundColor, foregroundColor);
|
|
16
|
+
};
|
|
17
|
+
const getNavWidth = props => {
|
|
18
|
+
return `${props.theme.space.base * 15}px`;
|
|
19
|
+
};
|
|
20
|
+
const getExpandedNavWidth = () => {
|
|
21
|
+
return `200px`;
|
|
22
|
+
};
|
|
23
|
+
const StyledNav = styled.nav.attrs({
|
|
24
|
+
'data-garden-id': COMPONENT_ID,
|
|
25
|
+
'data-garden-version': '8.76.0'
|
|
26
|
+
}).withConfig({
|
|
27
|
+
displayName: "StyledNav",
|
|
28
|
+
componentId: "sc-6j462r-0"
|
|
29
|
+
})(["display:flex;position:relative;flex-direction:column;flex-shrink:0;order:-1;width:", ";font-size:", ";", ";", ";"], props => props.isExpanded ? getExpandedNavWidth : getNavWidth, props => props.theme.fontSizes.md, props => colorStyles(props), props => retrieveComponentStyles(COMPONENT_ID, props));
|
|
30
|
+
StyledNav.defaultProps = {
|
|
31
|
+
theme: DEFAULT_THEME
|
|
32
|
+
};
|
|
33
|
+
|
|
34
|
+
export { StyledNav, getExpandedNavWidth, getNavWidth };
|
|
@@ -0,0 +1,65 @@
|
|
|
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 styled, { css } from 'styled-components';
|
|
8
|
+
import { math, rgba } from 'polished';
|
|
9
|
+
import { SELECTOR_FOCUS_VISIBLE, retrieveComponentStyles, DEFAULT_THEME, getColorV8, focusStyles } from '@zendeskgarden/react-theming';
|
|
10
|
+
import { StyledBaseNavItem } from './StyledBaseNavItem.js';
|
|
11
|
+
import { StyledNavItemIcon } from './StyledNavItemIcon.js';
|
|
12
|
+
import { getNavWidth } from './StyledNav.js';
|
|
13
|
+
|
|
14
|
+
const COMPONENT_ID = 'chrome.nav_item';
|
|
15
|
+
const colorStyles = props => {
|
|
16
|
+
const {
|
|
17
|
+
theme,
|
|
18
|
+
hue,
|
|
19
|
+
isLight,
|
|
20
|
+
isDark,
|
|
21
|
+
isCurrent
|
|
22
|
+
} = props;
|
|
23
|
+
const DARK = theme.palette.black;
|
|
24
|
+
const LIGHT = theme.palette.white;
|
|
25
|
+
let currentColor;
|
|
26
|
+
let hoverColor;
|
|
27
|
+
if (isCurrent) {
|
|
28
|
+
if (isLight) {
|
|
29
|
+
currentColor = rgba(DARK, 0.4);
|
|
30
|
+
} else if (isDark) {
|
|
31
|
+
currentColor = rgba(LIGHT, 0.4);
|
|
32
|
+
} else {
|
|
33
|
+
currentColor = getColorV8(hue, 500, theme);
|
|
34
|
+
}
|
|
35
|
+
} else {
|
|
36
|
+
hoverColor = rgba(isLight ? LIGHT : DARK, 0.1);
|
|
37
|
+
}
|
|
38
|
+
const activeColor = rgba(isLight ? DARK : LIGHT, 0.1);
|
|
39
|
+
const focusColor = isLight ? DARK : LIGHT;
|
|
40
|
+
return css(["opacity:", ";outline-color:transparent;background-color:", ";&:hover{opacity:1;background-color:", ";}", " &:active{background-color:", ";}"], isCurrent ? 1 : 0.6, currentColor, hoverColor, focusStyles({
|
|
41
|
+
theme,
|
|
42
|
+
condition: false ,
|
|
43
|
+
styles: {
|
|
44
|
+
opacity: 1,
|
|
45
|
+
outlineColor: focusColor
|
|
46
|
+
}
|
|
47
|
+
}), activeColor);
|
|
48
|
+
};
|
|
49
|
+
const StyledNavItem = styled(StyledBaseNavItem).attrs({
|
|
50
|
+
'data-garden-id': COMPONENT_ID,
|
|
51
|
+
'data-garden-version': '8.76.0',
|
|
52
|
+
as: 'button'
|
|
53
|
+
}).withConfig({
|
|
54
|
+
displayName: "StyledNavItem",
|
|
55
|
+
componentId: "sc-gs8mjz-0"
|
|
56
|
+
})(["justify-content:", ";order:1;margin:0;cursor:", ";text-align:", ";&:hover,&:focus{text-decoration:none;color:inherit;}", ";&:focus-visible:hover,&:focus-visible:active,", "{outline:", " solid;outline-offset:-", ";}", " ", ";"], props => props.isExpanded && 'start', props => props.isCurrent ? 'default' : 'pointer', props => props.isExpanded && 'inherit', colorStyles, SELECTOR_FOCUS_VISIBLE, props => math(`${props.theme.borderWidths.md} - 1`), props => props.theme.borderWidths.md, props => props.isExpanded && `
|
|
57
|
+
${StyledNavItemIcon} {
|
|
58
|
+
margin: 0 ${math(`(${getNavWidth(props)} - ${props.theme.iconSizes.lg}) / 4`)};
|
|
59
|
+
}
|
|
60
|
+
`, props => retrieveComponentStyles(COMPONENT_ID, props));
|
|
61
|
+
StyledNavItem.defaultProps = {
|
|
62
|
+
theme: DEFAULT_THEME
|
|
63
|
+
};
|
|
64
|
+
|
|
65
|
+
export { StyledNavItem };
|
|
@@ -0,0 +1,22 @@
|
|
|
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 styled from 'styled-components';
|
|
8
|
+
import { retrieveComponentStyles, DEFAULT_THEME } from '@zendeskgarden/react-theming';
|
|
9
|
+
|
|
10
|
+
const COMPONENT_ID = 'chrome.nav_item_icon';
|
|
11
|
+
const StyledNavItemIcon = styled.div.attrs({
|
|
12
|
+
'data-garden-id': COMPONENT_ID,
|
|
13
|
+
'data-garden-version': '8.76.0'
|
|
14
|
+
}).withConfig({
|
|
15
|
+
displayName: "StyledNavItemIcon",
|
|
16
|
+
componentId: "sc-7w9rpt-0"
|
|
17
|
+
})(["align-self:flex-start;order:0;border-radius:", ";width:", ";height:", ";", ";"], props => props.theme.borderRadii.md, props => props.theme.iconSizes.lg, props => props.theme.iconSizes.lg, props => retrieveComponentStyles(COMPONENT_ID, props));
|
|
18
|
+
StyledNavItemIcon.defaultProps = {
|
|
19
|
+
theme: DEFAULT_THEME
|
|
20
|
+
};
|
|
21
|
+
|
|
22
|
+
export { StyledNavItemIcon };
|
|
@@ -0,0 +1,34 @@
|
|
|
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 styled from 'styled-components';
|
|
8
|
+
import { math } from 'polished';
|
|
9
|
+
import { getLineHeight, retrieveComponentStyles, DEFAULT_THEME } from '@zendeskgarden/react-theming';
|
|
10
|
+
import { StyledNavItem } from './StyledNavItem.js';
|
|
11
|
+
import { getNavWidth } from './StyledNav.js';
|
|
12
|
+
|
|
13
|
+
const COMPONENT_ID = 'chrome.nav_item_text';
|
|
14
|
+
const StyledNavItemText = styled.span.attrs({
|
|
15
|
+
'data-garden-id': COMPONENT_ID,
|
|
16
|
+
'data-garden-version': '8.76.0'
|
|
17
|
+
}).withConfig({
|
|
18
|
+
displayName: "StyledNavItemText",
|
|
19
|
+
componentId: "sc-13m84xl-0"
|
|
20
|
+
})(["position:absolute;order:1;clip:rect(1px,1px,1px,1px);margin:", ";width:1px;height:1px;overflow:hidden;line-height:", ";white-space:", ";", " ", ";"], props => props.isExpanded && `0 ${math(`(${getNavWidth(props)} - ${props.theme.iconSizes.lg}) / 4`)}`, props => getLineHeight(props.theme.space.base * 5, props.theme.fontSizes.md), props => props.isWrapped ? 'normal' : 'nowrap', props => props.isExpanded && `
|
|
21
|
+
${StyledNavItem} > && {
|
|
22
|
+
position: static;
|
|
23
|
+
flex: 1;
|
|
24
|
+
clip: auto;
|
|
25
|
+
width: auto;
|
|
26
|
+
height: auto;
|
|
27
|
+
text-overflow: ellipsis;
|
|
28
|
+
}
|
|
29
|
+
`, props => retrieveComponentStyles(COMPONENT_ID, props));
|
|
30
|
+
StyledNavItemText.defaultProps = {
|
|
31
|
+
theme: DEFAULT_THEME
|
|
32
|
+
};
|
|
33
|
+
|
|
34
|
+
export { StyledNavItemText };
|
|
@@ -0,0 +1,41 @@
|
|
|
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 styled from 'styled-components';
|
|
8
|
+
import { getColorV8, retrieveComponentStyles, DEFAULT_THEME } from '@zendeskgarden/react-theming';
|
|
9
|
+
|
|
10
|
+
const COMPONENT_ID = 'chrome.sheet';
|
|
11
|
+
const borderStyle = _ref => {
|
|
12
|
+
let {
|
|
13
|
+
theme,
|
|
14
|
+
placement,
|
|
15
|
+
isOpen
|
|
16
|
+
} = _ref;
|
|
17
|
+
const borderColor = isOpen ? getColorV8('neutralHue', 300, theme) : 'transparent';
|
|
18
|
+
const borderSides = ['-left', '-right'];
|
|
19
|
+
let borderSide = '';
|
|
20
|
+
if (theme.rtl) {
|
|
21
|
+
borderSides.reverse();
|
|
22
|
+
}
|
|
23
|
+
if (placement === 'end') {
|
|
24
|
+
borderSide = borderSides[0];
|
|
25
|
+
} else if (placement === 'start') {
|
|
26
|
+
borderSide = borderSides[1];
|
|
27
|
+
}
|
|
28
|
+
return `border${borderSide}: ${theme.borders.sm} ${borderColor};`;
|
|
29
|
+
};
|
|
30
|
+
const StyledSheet = styled.aside.attrs({
|
|
31
|
+
'data-garden-id': COMPONENT_ID,
|
|
32
|
+
'data-garden-version': '8.76.0'
|
|
33
|
+
}).withConfig({
|
|
34
|
+
displayName: "StyledSheet",
|
|
35
|
+
componentId: "sc-dx8ijk-0"
|
|
36
|
+
})(["display:flex;order:1;transition:", ";background-color:", ";width:", ";height:100%;overflow:hidden;font-size:", ";&:focus{outline:none;}", ";", ";"], props => props.isAnimated && 'width 250ms ease-in-out', props => getColorV8('background', 600 , props.theme), props => props.isOpen ? props.size : '0px', props => props.theme.fontSizes.md, props => borderStyle(props), props => retrieveComponentStyles(COMPONENT_ID, props));
|
|
37
|
+
StyledSheet.defaultProps = {
|
|
38
|
+
theme: DEFAULT_THEME
|
|
39
|
+
};
|
|
40
|
+
|
|
41
|
+
export { StyledSheet };
|
|
@@ -0,0 +1,22 @@
|
|
|
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 styled from 'styled-components';
|
|
8
|
+
import { retrieveComponentStyles, DEFAULT_THEME } from '@zendeskgarden/react-theming';
|
|
9
|
+
|
|
10
|
+
const COMPONENT_ID = 'chrome.sheet_body';
|
|
11
|
+
const StyledSheetBody = styled.div.attrs({
|
|
12
|
+
'data-garden-id': COMPONENT_ID,
|
|
13
|
+
'data-garden-version': '8.76.0'
|
|
14
|
+
}).withConfig({
|
|
15
|
+
displayName: "StyledSheetBody",
|
|
16
|
+
componentId: "sc-bt4eoj-0"
|
|
17
|
+
})(["flex:1;overflow-y:auto;padding:", "px;", ";"], props => props.theme.space.base * 5, props => retrieveComponentStyles(COMPONENT_ID, props));
|
|
18
|
+
StyledSheetBody.defaultProps = {
|
|
19
|
+
theme: DEFAULT_THEME
|
|
20
|
+
};
|
|
21
|
+
|
|
22
|
+
export { StyledSheetBody };
|
|
@@ -0,0 +1,34 @@
|
|
|
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 styled, { css } from 'styled-components';
|
|
8
|
+
import { retrieveComponentStyles, DEFAULT_THEME, getColorV8, focusStyles } from '@zendeskgarden/react-theming';
|
|
9
|
+
|
|
10
|
+
const COMPONENT_ID = 'chrome.sheet_close';
|
|
11
|
+
const BASE_MULTIPLIERS = {
|
|
12
|
+
top: 2.5,
|
|
13
|
+
side: 2,
|
|
14
|
+
size: 10
|
|
15
|
+
};
|
|
16
|
+
const colorStyles = props => {
|
|
17
|
+
const backgroundColor = 'primaryHue';
|
|
18
|
+
const foregroundColor = 'neutralHue';
|
|
19
|
+
return css(["background-color:transparent;color:", ";&:hover{background-color:", ";color:", ";}", " &:active{transition:background-color 0.1s ease-in-out,color 0.1s ease-in-out;background-color:", ";color:", ";}"], getColorV8(foregroundColor, 600, props.theme), getColorV8(backgroundColor, 600, props.theme, 0.08), getColorV8(foregroundColor, 700, props.theme), focusStyles({
|
|
20
|
+
theme: props.theme
|
|
21
|
+
}), getColorV8(backgroundColor, 600, props.theme, 0.2), getColorV8(foregroundColor, 800, props.theme));
|
|
22
|
+
};
|
|
23
|
+
const StyledSheetClose = styled.button.attrs({
|
|
24
|
+
'data-garden-id': COMPONENT_ID,
|
|
25
|
+
'data-garden-version': '8.76.0'
|
|
26
|
+
}).withConfig({
|
|
27
|
+
displayName: "StyledSheetClose",
|
|
28
|
+
componentId: "sc-1ab02oq-0"
|
|
29
|
+
})(["display:flex;position:absolute;top:", "px;", ":", ";align-items:center;justify-content:center;transition:box-shadow 0.1s ease-in-out,background-color 0.25s ease-in-out,color 0.25s ease-in-out;border:none;border-radius:50%;cursor:pointer;padding:0;width:", "px;height:", "px;overflow:hidden;text-decoration:none;font-size:0;user-select:none;&::-moz-focus-inner{border:0;}", ";& > svg{vertical-align:middle;}", ";"], props => props.theme.space.base * BASE_MULTIPLIERS.top, props => props.theme.rtl ? 'left' : 'right', props => `${props.theme.space.base * BASE_MULTIPLIERS.side}px`, props => props.theme.space.base * BASE_MULTIPLIERS.size, props => props.theme.space.base * BASE_MULTIPLIERS.size, props => colorStyles(props), props => retrieveComponentStyles(COMPONENT_ID, props));
|
|
30
|
+
StyledSheetClose.defaultProps = {
|
|
31
|
+
theme: DEFAULT_THEME
|
|
32
|
+
};
|
|
33
|
+
|
|
34
|
+
export { BASE_MULTIPLIERS, StyledSheetClose };
|
|
@@ -0,0 +1,22 @@
|
|
|
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 styled from 'styled-components';
|
|
8
|
+
import { getLineHeight, getColorV8, retrieveComponentStyles, DEFAULT_THEME } from '@zendeskgarden/react-theming';
|
|
9
|
+
|
|
10
|
+
const COMPONENT_ID = 'chrome.sheet_description';
|
|
11
|
+
const StyledSheetDescription = styled.div.attrs({
|
|
12
|
+
'data-garden-id': COMPONENT_ID,
|
|
13
|
+
'data-garden-version': '8.76.0'
|
|
14
|
+
}).withConfig({
|
|
15
|
+
displayName: "StyledSheetDescription",
|
|
16
|
+
componentId: "sc-1puglb6-0"
|
|
17
|
+
})(["line-height:", ";color:", ";", ";"], props => getLineHeight(props.theme.space.base * 4, props.theme.fontSizes.md), props => getColorV8('neutralHue', 600, props.theme), props => retrieveComponentStyles(COMPONENT_ID, props));
|
|
18
|
+
StyledSheetDescription.defaultProps = {
|
|
19
|
+
theme: DEFAULT_THEME
|
|
20
|
+
};
|
|
21
|
+
|
|
22
|
+
export { StyledSheetDescription };
|
|
@@ -0,0 +1,22 @@
|
|
|
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 styled from 'styled-components';
|
|
8
|
+
import { getColorV8, retrieveComponentStyles, DEFAULT_THEME } from '@zendeskgarden/react-theming';
|
|
9
|
+
|
|
10
|
+
const COMPONENT_ID = 'chrome.sheet_footer';
|
|
11
|
+
const StyledSheetFooter = styled.footer.attrs({
|
|
12
|
+
'data-garden-id': COMPONENT_ID,
|
|
13
|
+
'data-garden-version': '8.76.0'
|
|
14
|
+
}).withConfig({
|
|
15
|
+
displayName: "StyledSheetFooter",
|
|
16
|
+
componentId: "sc-2cktos-0"
|
|
17
|
+
})(["display:flex;flex-flow:row wrap;align-items:center;justify-content:", ";border-top:", ";padding:", "px;", ";"], props => props.isCompact ? 'center' : 'flex-end', props => `${props.theme.borders.sm} ${getColorV8('neutralHue', 300, props.theme)}}`, props => props.theme.space.base * (props.isCompact ? 2.5 : 5), props => retrieveComponentStyles(COMPONENT_ID, props));
|
|
18
|
+
StyledSheetFooter.defaultProps = {
|
|
19
|
+
theme: DEFAULT_THEME
|
|
20
|
+
};
|
|
21
|
+
|
|
22
|
+
export { StyledSheetFooter };
|
|
@@ -0,0 +1,22 @@
|
|
|
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 styled from 'styled-components';
|
|
8
|
+
import { retrieveComponentStyles, DEFAULT_THEME } from '@zendeskgarden/react-theming';
|
|
9
|
+
|
|
10
|
+
const COMPONENT_ID = 'chrome.sheet_footer_item';
|
|
11
|
+
const StyledSheetFooterItem = styled.div.attrs({
|
|
12
|
+
'data-garden-id': COMPONENT_ID,
|
|
13
|
+
'data-garden-version': '8.76.0'
|
|
14
|
+
}).withConfig({
|
|
15
|
+
displayName: "StyledSheetFooterItem",
|
|
16
|
+
componentId: "sc-r9ixh-0"
|
|
17
|
+
})(["", " ", ";"], props => `margin-${props.theme.rtl ? 'right' : 'left'}: ${props.theme.space.base * 5}px;`, props => retrieveComponentStyles(COMPONENT_ID, props));
|
|
18
|
+
StyledSheetFooterItem.defaultProps = {
|
|
19
|
+
theme: DEFAULT_THEME
|
|
20
|
+
};
|
|
21
|
+
|
|
22
|
+
export { StyledSheetFooterItem };
|
|
@@ -0,0 +1,23 @@
|
|
|
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 styled from 'styled-components';
|
|
8
|
+
import { getColorV8, retrieveComponentStyles, DEFAULT_THEME } from '@zendeskgarden/react-theming';
|
|
9
|
+
import { BASE_MULTIPLIERS } from './StyledSheetClose.js';
|
|
10
|
+
|
|
11
|
+
const COMPONENT_ID = 'chrome.sheet_header';
|
|
12
|
+
const StyledSheetHeader = styled.header.attrs({
|
|
13
|
+
'data-garden-id': COMPONENT_ID,
|
|
14
|
+
'data-garden-version': '8.76.0'
|
|
15
|
+
}).withConfig({
|
|
16
|
+
displayName: "StyledSheetHeader",
|
|
17
|
+
componentId: "sc-o2ry8i-0"
|
|
18
|
+
})(["border-bottom:", ";padding:", "px;", " ", ";"], props => `${props.theme.borders.sm} ${getColorV8('neutralHue', 300, props.theme)}}`, props => props.theme.space.base * 5, props => props.isCloseButtonPresent && `padding-${props.theme.rtl ? 'left' : 'right'}: ${props.theme.space.base * (BASE_MULTIPLIERS.size + BASE_MULTIPLIERS.side + 2)}px;`, props => retrieveComponentStyles(COMPONENT_ID, props));
|
|
19
|
+
StyledSheetHeader.defaultProps = {
|
|
20
|
+
theme: DEFAULT_THEME
|
|
21
|
+
};
|
|
22
|
+
|
|
23
|
+
export { StyledSheetHeader };
|
|
@@ -0,0 +1,22 @@
|
|
|
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 styled from 'styled-components';
|
|
8
|
+
import { getLineHeight, getColorV8, retrieveComponentStyles, DEFAULT_THEME } from '@zendeskgarden/react-theming';
|
|
9
|
+
|
|
10
|
+
const COMPONENT_ID = 'chrome.sheet_title';
|
|
11
|
+
const StyledSheetTitle = styled.div.attrs({
|
|
12
|
+
'data-garden-id': COMPONENT_ID,
|
|
13
|
+
'data-garden-version': '8.76.0'
|
|
14
|
+
}).withConfig({
|
|
15
|
+
displayName: "StyledSheetTitle",
|
|
16
|
+
componentId: "sc-1gogk75-0"
|
|
17
|
+
})(["line-height:", ";color:", ";font-weight:", ";", ";"], props => getLineHeight(props.theme.space.base * 5, props.theme.fontSizes.md), props => getColorV8('foreground', 600 , props.theme), props => props.theme.fontWeights.semibold, props => retrieveComponentStyles(COMPONENT_ID, props));
|
|
18
|
+
StyledSheetTitle.defaultProps = {
|
|
19
|
+
theme: DEFAULT_THEME
|
|
20
|
+
};
|
|
21
|
+
|
|
22
|
+
export { StyledSheetTitle };
|
|
@@ -0,0 +1,37 @@
|
|
|
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 styled from 'styled-components';
|
|
8
|
+
import { retrieveComponentStyles, DEFAULT_THEME } from '@zendeskgarden/react-theming';
|
|
9
|
+
|
|
10
|
+
const COMPONENT_ID = 'chrome.sheet_wrapper';
|
|
11
|
+
const StyledSheetWrapper = styled.div.attrs({
|
|
12
|
+
'data-garden-id': COMPONENT_ID,
|
|
13
|
+
'data-garden-version': '8.76.0'
|
|
14
|
+
}).withConfig({
|
|
15
|
+
displayName: "StyledSheetWrapper",
|
|
16
|
+
componentId: "sc-f6x9zb-0"
|
|
17
|
+
})(["display:flex;position:relative;flex-direction:column;transform:", ";transition:", ";min-width:", ";", ";"], props => {
|
|
18
|
+
const translateValues = [-100, 100];
|
|
19
|
+
let translation = 'translateX(0%)';
|
|
20
|
+
if (props.isOpen) {
|
|
21
|
+
return translation;
|
|
22
|
+
}
|
|
23
|
+
if (props.theme.rtl) {
|
|
24
|
+
translateValues.reverse();
|
|
25
|
+
}
|
|
26
|
+
if (props.placement === 'end') {
|
|
27
|
+
translation = `translateX(${translateValues[1]}%)`;
|
|
28
|
+
} else if (props.placement === 'start') {
|
|
29
|
+
translation = `translateX(${translateValues[0]}%)`;
|
|
30
|
+
}
|
|
31
|
+
return translation;
|
|
32
|
+
}, props => props.isAnimated && 'transform 250ms ease-in-out', props => props.size, props => retrieveComponentStyles(COMPONENT_ID, props));
|
|
33
|
+
StyledSheetWrapper.defaultProps = {
|
|
34
|
+
theme: DEFAULT_THEME
|
|
35
|
+
};
|
|
36
|
+
|
|
37
|
+
export { StyledSheetWrapper };
|
|
@@ -0,0 +1,34 @@
|
|
|
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 styled, { css } from 'styled-components';
|
|
8
|
+
import { retrieveComponentStyles, DEFAULT_THEME, getColorV8 } from '@zendeskgarden/react-theming';
|
|
9
|
+
import { StyledSubNavItem } from './StyledSubNavItem.js';
|
|
10
|
+
|
|
11
|
+
const COMPONENT_ID = 'chrome.subnav';
|
|
12
|
+
const colorStyles = props => {
|
|
13
|
+
let shade;
|
|
14
|
+
if (props.isLight) {
|
|
15
|
+
shade = 500;
|
|
16
|
+
} else {
|
|
17
|
+
shade = props.isDark ? 700 : 800;
|
|
18
|
+
}
|
|
19
|
+
const backgroundColor = getColorV8(props.hue, shade, props.theme);
|
|
20
|
+
const foregroundColor = props.isLight ? props.theme.palette.grey[800] : props.theme.palette.white;
|
|
21
|
+
return css(["background-color:", ";color:", ";"], backgroundColor, foregroundColor);
|
|
22
|
+
};
|
|
23
|
+
const StyledSubNav = styled.nav.attrs({
|
|
24
|
+
'data-garden-id': COMPONENT_ID,
|
|
25
|
+
'data-garden-version': '8.76.0'
|
|
26
|
+
}).withConfig({
|
|
27
|
+
displayName: "StyledSubNav",
|
|
28
|
+
componentId: "sc-19hjou6-0"
|
|
29
|
+
})(["flex-direction:column;order:0;padding:", ";min-width:220px;overflow:auto;font-size:", ";", ";& > ", ":first-child{margin-top:0;}", ";"], props => `${props.theme.space.base * 6}px ${props.theme.space.base * 5}px`, props => props.theme.fontSizes.md, props => colorStyles(props), StyledSubNavItem, props => retrieveComponentStyles('chrome.subnav', props));
|
|
30
|
+
StyledSubNav.defaultProps = {
|
|
31
|
+
theme: DEFAULT_THEME
|
|
32
|
+
};
|
|
33
|
+
|
|
34
|
+
export { StyledSubNav };
|