@jpmorganchase/mosaic-layouts 0.1.0-beta.10
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/.turbo/turbo-build.log +4 -0
- package/CHANGELOG.md +22 -0
- package/README.md +39 -0
- package/dist/Fade.d.ts +11 -0
- package/dist/Fade.js +1 -0
- package/dist/LayoutBase/index.css +1 -0
- package/dist/LayoutBase/index.d.ts +6 -0
- package/dist/LayoutBase/index.js +1 -0
- package/dist/LayoutBase/styles.css.css +1 -0
- package/dist/LayoutBase/styles.css.d.ts +8 -0
- package/dist/LayoutBase/styles.css.js +1 -0
- package/dist/LayoutColumns/index.css +1 -0
- package/dist/LayoutColumns/index.d.ts +7 -0
- package/dist/LayoutColumns/index.js +1 -0
- package/dist/LayoutColumns/styles.css.css +1 -0
- package/dist/LayoutColumns/styles.css.d.ts +9 -0
- package/dist/LayoutColumns/styles.css.js +1 -0
- package/dist/LayoutConfigProvider/index.d.ts +6 -0
- package/dist/LayoutConfigProvider/index.js +1 -0
- package/dist/LayoutFullWidth/index.css +1 -0
- package/dist/LayoutFullWidth/index.d.ts +7 -0
- package/dist/LayoutFullWidth/index.js +1 -0
- package/dist/LayoutFullWidth/styles.css.css +1 -0
- package/dist/LayoutFullWidth/styles.css.d.ts +4 -0
- package/dist/LayoutFullWidth/styles.css.js +1 -0
- package/dist/LayoutProvider.css +1 -0
- package/dist/LayoutProvider.d.ts +10 -0
- package/dist/LayoutProvider.js +1 -0
- package/dist/Sidebars/Drawer.css +1 -0
- package/dist/Sidebars/Drawer.d.ts +5 -0
- package/dist/Sidebars/Drawer.js +1 -0
- package/dist/Sidebars/SidebarLeft.css +1 -0
- package/dist/Sidebars/SidebarLeft.d.ts +5 -0
- package/dist/Sidebars/SidebarLeft.js +1 -0
- package/dist/Sidebars/SidebarRight.css +1 -0
- package/dist/Sidebars/SidebarRight.d.ts +5 -0
- package/dist/Sidebars/SidebarRight.js +1 -0
- package/dist/Sidebars/index.css +1 -0
- package/dist/Sidebars/index.d.ts +2 -0
- package/dist/Sidebars/index.js +1 -0
- package/dist/Sidebars/styles.css.css +1 -0
- package/dist/Sidebars/styles.css.d.ts +13 -0
- package/dist/Sidebars/styles.css.js +1 -0
- package/dist/chunk-25KPR4KC.js +1 -0
- package/dist/chunk-36VRRJYH.js +1 -0
- package/dist/chunk-475WQFFV.js +0 -0
- package/dist/chunk-4Z46UYNW.js +1 -0
- package/dist/chunk-53T3BYR6.js +1 -0
- package/dist/chunk-5HRFKBMO.js +1 -0
- package/dist/chunk-6TKQWZGT.js +1 -0
- package/dist/chunk-77TJQXKX.js +1 -0
- package/dist/chunk-ASVIILPC.js +1 -0
- package/dist/chunk-BKZGSG52.js +1 -0
- package/dist/chunk-DE36TWIF.js +1 -0
- package/dist/chunk-DTW4UURD.js +1 -0
- package/dist/chunk-E6MQWWR2.js +1 -0
- package/dist/chunk-FEIY7W7S.js +1 -0
- package/dist/chunk-FVHDTNGX.js +1 -0
- package/dist/chunk-G5JIKQRF.js +1 -0
- package/dist/chunk-GAMD2B7L.js +1 -0
- package/dist/chunk-GVN4L242.js +1 -0
- package/dist/chunk-HTHD7YMF.js +1 -0
- package/dist/chunk-JATFIZBE.js +1 -0
- package/dist/chunk-KER5XROW.js +1 -0
- package/dist/chunk-KZ6ZH4EY.js +1 -0
- package/dist/chunk-LAW2KABC.js +1 -0
- package/dist/chunk-NDZQ5OZP.js +0 -0
- package/dist/chunk-OMED577C.js +1 -0
- package/dist/chunk-OOBVDA2T.js +1 -0
- package/dist/chunk-PHW5SXKA.js +1 -0
- package/dist/chunk-PKAR7XZI.js +0 -0
- package/dist/chunk-Q3Z3PB5J.js +1 -0
- package/dist/chunk-RWWDUWAZ.js +1 -0
- package/dist/chunk-S2SS5ZQ2.js +1 -0
- package/dist/chunk-S7HNXMC4.js +1 -0
- package/dist/chunk-T5JOF44G.js +1 -0
- package/dist/chunk-WNZGJWRV.js +1 -0
- package/dist/chunk-X52NEVFW.js +1 -0
- package/dist/chunk-YA5BIJYR.js +1 -0
- package/dist/chunk-Z4UFTC3H.js +1 -0
- package/dist/chunk-ZUEPDUKR.js +1 -0
- package/dist/chunk-ZUHN4T3Z.js +1 -0
- package/dist/hooks/useIsLoading.d.ts +6 -0
- package/dist/hooks/useIsLoading.js +1 -0
- package/dist/index.css +1 -0
- package/dist/index.d.ts +8 -0
- package/dist/index.js +1 -0
- package/dist/layouts/App/index.css +1 -0
- package/dist/layouts/App/index.d.ts +3 -0
- package/dist/layouts/App/index.js +1 -0
- package/dist/layouts/App/styles.css.css +1 -0
- package/dist/layouts/App/styles.css.d.ts +4 -0
- package/dist/layouts/App/styles.css.js +1 -0
- package/dist/layouts/Detail/DetailContentOnly.css +1 -0
- package/dist/layouts/Detail/DetailContentOnly.d.ts +3 -0
- package/dist/layouts/Detail/DetailContentOnly.js +1 -0
- package/dist/layouts/Detail/DetailHighlight.css +1 -0
- package/dist/layouts/Detail/DetailHighlight.d.ts +3 -0
- package/dist/layouts/Detail/DetailHighlight.js +1 -0
- package/dist/layouts/Detail/DetailOverview.css +1 -0
- package/dist/layouts/Detail/DetailOverview.d.ts +3 -0
- package/dist/layouts/Detail/DetailOverview.js +1 -0
- package/dist/layouts/Detail/DetailTechnical.css +1 -0
- package/dist/layouts/Detail/DetailTechnical.d.ts +3 -0
- package/dist/layouts/Detail/DetailTechnical.js +1 -0
- package/dist/layouts/Detail/index.css +1 -0
- package/dist/layouts/Detail/index.d.ts +4 -0
- package/dist/layouts/Detail/index.js +1 -0
- package/dist/layouts/Detail/styles.css.css +1 -0
- package/dist/layouts/Detail/styles.css.d.ts +4 -0
- package/dist/layouts/Detail/styles.css.js +1 -0
- package/dist/layouts/Edit/index.css +1 -0
- package/dist/layouts/Edit/index.d.ts +3 -0
- package/dist/layouts/Edit/index.js +1 -0
- package/dist/layouts/Edit/styles.css.css +1 -0
- package/dist/layouts/Edit/styles.css.d.ts +5 -0
- package/dist/layouts/Edit/styles.css.js +1 -0
- package/dist/layouts/FullWidth/index.css +1 -0
- package/dist/layouts/FullWidth/index.d.ts +3 -0
- package/dist/layouts/FullWidth/index.js +1 -0
- package/dist/layouts/Landing/index.css +1 -0
- package/dist/layouts/Landing/index.d.ts +3 -0
- package/dist/layouts/Landing/index.js +1 -0
- package/dist/layouts/Newsletter/index.css +1 -0
- package/dist/layouts/Newsletter/index.d.ts +5 -0
- package/dist/layouts/Newsletter/index.js +1 -0
- package/dist/layouts/Product/ProductDiscover.css +1 -0
- package/dist/layouts/Product/ProductDiscover.d.ts +3 -0
- package/dist/layouts/Product/ProductDiscover.js +1 -0
- package/dist/layouts/Product/ProductPreview.css +1 -0
- package/dist/layouts/Product/ProductPreview.d.ts +3 -0
- package/dist/layouts/Product/ProductPreview.js +1 -0
- package/dist/layouts/Product/index.css +1 -0
- package/dist/layouts/Product/index.d.ts +2 -0
- package/dist/layouts/Product/index.js +1 -0
- package/dist/layouts/PythonDoc/index.css +1 -0
- package/dist/layouts/PythonDoc/index.d.ts +3 -0
- package/dist/layouts/PythonDoc/index.js +1 -0
- package/dist/layouts/PythonDoc/styles.css.css +1 -0
- package/dist/layouts/PythonDoc/styles.css.d.ts +12 -0
- package/dist/layouts/PythonDoc/styles.css.js +1 -0
- package/dist/layouts/TypeDoc/ExportsSidebar/index.css +1 -0
- package/dist/layouts/TypeDoc/ExportsSidebar/index.d.ts +9 -0
- package/dist/layouts/TypeDoc/ExportsSidebar/index.js +1 -0
- package/dist/layouts/TypeDoc/ExportsSidebar/styles.css.css +1 -0
- package/dist/layouts/TypeDoc/ExportsSidebar/styles.css.d.ts +6 -0
- package/dist/layouts/TypeDoc/ExportsSidebar/styles.css.js +1 -0
- package/dist/layouts/TypeDoc/index.css +1 -0
- package/dist/layouts/TypeDoc/index.d.ts +3 -0
- package/dist/layouts/TypeDoc/index.js +1 -0
- package/dist/layouts/TypeDoc/styles.css.css +1 -0
- package/dist/layouts/TypeDoc/styles.css.d.ts +7 -0
- package/dist/layouts/TypeDoc/styles.css.js +1 -0
- package/dist/layouts/index.css +1 -0
- package/dist/layouts/index.d.ts +9 -0
- package/dist/layouts/index.js +1 -0
- package/dist/types/index.d.ts +34 -0
- package/dist/types/index.js +0 -0
- package/package.json +42 -0
- package/src/Fade.tsx +48 -0
- package/src/LayoutBase/index.tsx +35 -0
- package/src/LayoutBase/styles.css.ts +73 -0
- package/src/LayoutColumns/index.tsx +36 -0
- package/src/LayoutColumns/styles.css.ts +64 -0
- package/src/LayoutConfigProvider/index.tsx +22 -0
- package/src/LayoutFullWidth/index.tsx +21 -0
- package/src/LayoutFullWidth/styles.css.ts +17 -0
- package/src/LayoutProvider.tsx +35 -0
- package/src/Sidebars/Drawer.tsx +66 -0
- package/src/Sidebars/SidebarLeft.tsx +15 -0
- package/src/Sidebars/SidebarRight.tsx +13 -0
- package/src/Sidebars/index.tsx +2 -0
- package/src/Sidebars/styles.css.ts +101 -0
- package/src/hooks/useIsLoading.ts +75 -0
- package/src/index.ts +9 -0
- package/src/layouts/App/index.tsx +12 -0
- package/src/layouts/App/styles.css.ts +23 -0
- package/src/layouts/Detail/DetailContentOnly.tsx +15 -0
- package/src/layouts/Detail/DetailHighlight.tsx +24 -0
- package/src/layouts/Detail/DetailOverview.tsx +47 -0
- package/src/layouts/Detail/DetailTechnical.tsx +53 -0
- package/src/layouts/Detail/index.tsx +4 -0
- package/src/layouts/Detail/styles.css.ts +5 -0
- package/src/layouts/Edit/index.tsx +35 -0
- package/src/layouts/Edit/styles.css.ts +23 -0
- package/src/layouts/FullWidth/index.tsx +12 -0
- package/src/layouts/Landing/index.tsx +12 -0
- package/src/layouts/Newsletter/index.tsx +29 -0
- package/src/layouts/Product/ProductDiscover.tsx +15 -0
- package/src/layouts/Product/ProductPreview.tsx +12 -0
- package/src/layouts/Product/index.tsx +2 -0
- package/src/layouts/PythonDoc/index.tsx +86 -0
- package/src/layouts/PythonDoc/styles.css.ts +67 -0
- package/src/layouts/TypeDoc/ExportsSidebar/index.tsx +36 -0
- package/src/layouts/TypeDoc/ExportsSidebar/styles.css.ts +44 -0
- package/src/layouts/TypeDoc/icons.css +944 -0
- package/src/layouts/TypeDoc/icons.png +0 -0
- package/src/layouts/TypeDoc/icons@2x.png +0 -0
- package/src/layouts/TypeDoc/index.tsx +80 -0
- package/src/layouts/TypeDoc/style.css +689 -0
- package/src/layouts/TypeDoc/styles.css.ts +41 -0
- package/src/layouts/TypeDoc/widgets.png +0 -0
- package/src/layouts/TypeDoc/widgets@2x.png +0 -0
- package/src/layouts/index.ts +9 -0
- package/src/types/index.tsx +28 -0
- package/tsconfig.json +8 -0
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { AppHeader, Breadcrumbs, Footer } from '@jpmorganchase/mosaic-site-components';
|
|
3
|
+
|
|
4
|
+
import { LayoutBase } from '../../LayoutBase';
|
|
5
|
+
import { LayoutFullWidth } from '../../LayoutFullWidth';
|
|
6
|
+
import type { LayoutProps } from '../../types';
|
|
7
|
+
|
|
8
|
+
export const ProductDiscover: React.FC<LayoutProps> = ({ FooterProps, children }) => (
|
|
9
|
+
<LayoutBase Header={<AppHeader />}>
|
|
10
|
+
<LayoutFullWidth Footer={<Footer {...FooterProps} />}>
|
|
11
|
+
<Breadcrumbs />
|
|
12
|
+
{children}
|
|
13
|
+
</LayoutFullWidth>
|
|
14
|
+
</LayoutBase>
|
|
15
|
+
);
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { AppHeader, Footer } from '@jpmorganchase/mosaic-site-components';
|
|
3
|
+
|
|
4
|
+
import { LayoutBase } from '../../LayoutBase';
|
|
5
|
+
import { LayoutFullWidth } from '../../LayoutFullWidth';
|
|
6
|
+
import type { LayoutProps } from '../../types';
|
|
7
|
+
|
|
8
|
+
export const ProductPreview: React.FC<LayoutProps> = ({ FooterProps, children }) => (
|
|
9
|
+
<LayoutBase Header={<AppHeader />}>
|
|
10
|
+
<LayoutFullWidth Footer={<Footer {...FooterProps} />}>{children}</LayoutFullWidth>
|
|
11
|
+
</LayoutBase>
|
|
12
|
+
);
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import classnames from 'classnames';
|
|
3
|
+
import { HelpLinks, Hero } from '@jpmorganchase/mosaic-components';
|
|
4
|
+
import {
|
|
5
|
+
AppHeader,
|
|
6
|
+
BackLink,
|
|
7
|
+
Breadcrumbs,
|
|
8
|
+
DocPaginator,
|
|
9
|
+
Footer,
|
|
10
|
+
TableOfContents,
|
|
11
|
+
VerticalNavigation
|
|
12
|
+
} from '@jpmorganchase/mosaic-site-components';
|
|
13
|
+
|
|
14
|
+
import { LayoutBase } from '../../LayoutBase';
|
|
15
|
+
import { LayoutColumns } from '../../LayoutColumns';
|
|
16
|
+
import type { LayoutProps } from '../../types';
|
|
17
|
+
import styles from './styles.css';
|
|
18
|
+
|
|
19
|
+
// TODO add image support to Hero via Mosaic plugin or provide a custom Layout
|
|
20
|
+
const APIHero = ({ description, name, pageType, releaseDate, title, version }) => (
|
|
21
|
+
<Hero
|
|
22
|
+
datestamp={releaseDate}
|
|
23
|
+
datestampLabel="Release Date"
|
|
24
|
+
description={description}
|
|
25
|
+
eyebrow={pageType === 'root' ? `Version ${version}` : `${name} - v${version}`}
|
|
26
|
+
title={pageType === 'root' ? name : title}
|
|
27
|
+
/>
|
|
28
|
+
);
|
|
29
|
+
|
|
30
|
+
export const PythonDoc: React.FC<LayoutProps> = ({
|
|
31
|
+
BackLinkProps,
|
|
32
|
+
FooterProps,
|
|
33
|
+
SidebarProps,
|
|
34
|
+
ToCProps,
|
|
35
|
+
children,
|
|
36
|
+
meta
|
|
37
|
+
}) => {
|
|
38
|
+
// Format the toc so that function calls do not have any arguments
|
|
39
|
+
// init(arg1, arg2) becomes init()
|
|
40
|
+
const formattedTableOfContentsItems = ToCProps?.items?.map(({ text, ...rest }) => ({
|
|
41
|
+
...rest,
|
|
42
|
+
text: text.replace(/\s*\(.*?\).*/g, '() ')
|
|
43
|
+
}));
|
|
44
|
+
|
|
45
|
+
const PrimarySidebar = (
|
|
46
|
+
<>
|
|
47
|
+
{BackLinkProps && (
|
|
48
|
+
<header className={styles.sidebarHeader}>
|
|
49
|
+
<BackLink {...BackLinkProps} />
|
|
50
|
+
</header>
|
|
51
|
+
)}
|
|
52
|
+
<VerticalNavigation />
|
|
53
|
+
{SidebarProps?.helpLinks && <HelpLinks subTitle="Need help?" {...SidebarProps.helpLinks} />}
|
|
54
|
+
</>
|
|
55
|
+
);
|
|
56
|
+
|
|
57
|
+
const SecondarySidebar = <TableOfContents items={formattedTableOfContentsItems} />;
|
|
58
|
+
|
|
59
|
+
return (
|
|
60
|
+
<LayoutBase Header={<AppHeader />}>
|
|
61
|
+
<LayoutColumns
|
|
62
|
+
PrimarySidebar={PrimarySidebar}
|
|
63
|
+
SecondarySidebar={SecondarySidebar}
|
|
64
|
+
Footer={<Footer {...FooterProps} />}
|
|
65
|
+
>
|
|
66
|
+
<main className={classnames(styles.contentBody, 'pythondoc')}>
|
|
67
|
+
<Breadcrumbs />
|
|
68
|
+
{meta?.data?.pageType === 'root' || meta?.data?.pageType === 'index' ? (
|
|
69
|
+
<APIHero
|
|
70
|
+
description={
|
|
71
|
+
meta.data.api?.description ? `Changelog: ${meta.data.api.description}` : undefined
|
|
72
|
+
}
|
|
73
|
+
name={meta.data.api?.name}
|
|
74
|
+
pageType={meta.data.pageType}
|
|
75
|
+
releaseDate={meta.data.api?.releaseDate}
|
|
76
|
+
title={meta.data.title}
|
|
77
|
+
version={meta.data.api?.version}
|
|
78
|
+
/>
|
|
79
|
+
) : null}
|
|
80
|
+
{children}
|
|
81
|
+
<DocPaginator />
|
|
82
|
+
</main>
|
|
83
|
+
</LayoutColumns>
|
|
84
|
+
</LayoutBase>
|
|
85
|
+
);
|
|
86
|
+
};
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
import { style } from '@vanilla-extract/css';
|
|
2
|
+
import { responsiveSprinkles } from '@jpmorganchase/mosaic-theme';
|
|
3
|
+
|
|
4
|
+
export default {
|
|
5
|
+
root: style({
|
|
6
|
+
width: '100%',
|
|
7
|
+
zIndex: 1,
|
|
8
|
+
display: 'flex'
|
|
9
|
+
}),
|
|
10
|
+
|
|
11
|
+
main: style({
|
|
12
|
+
width: '100%',
|
|
13
|
+
minWidth: 0,
|
|
14
|
+
display: 'flex',
|
|
15
|
+
justifyContent: 'center'
|
|
16
|
+
}),
|
|
17
|
+
|
|
18
|
+
locked: style({
|
|
19
|
+
width: '100%',
|
|
20
|
+
minWidth: 0,
|
|
21
|
+
display: 'flex',
|
|
22
|
+
justifyContent: 'center',
|
|
23
|
+
position: 'relative',
|
|
24
|
+
overflow: 'hidden'
|
|
25
|
+
}),
|
|
26
|
+
|
|
27
|
+
columnWrapper: style([
|
|
28
|
+
style({
|
|
29
|
+
display: 'flex',
|
|
30
|
+
width: '100%',
|
|
31
|
+
maxWidth: '1128px'
|
|
32
|
+
}),
|
|
33
|
+
responsiveSprinkles({
|
|
34
|
+
marginX: ['x8', 'x8', 'x8', 'x8']
|
|
35
|
+
})
|
|
36
|
+
]),
|
|
37
|
+
|
|
38
|
+
contentScrollMargin: style({}),
|
|
39
|
+
|
|
40
|
+
contentColumn: style([
|
|
41
|
+
style({
|
|
42
|
+
display: 'flex',
|
|
43
|
+
flexDirection: 'column',
|
|
44
|
+
justifyContent: 'stretch',
|
|
45
|
+
zIndex: 2,
|
|
46
|
+
width: '100%'
|
|
47
|
+
}),
|
|
48
|
+
responsiveSprinkles({
|
|
49
|
+
paddingTop: ['x10', 'x10', 'x20', 'x20'],
|
|
50
|
+
marginRight: ['none', 'none', 'none', 'x6']
|
|
51
|
+
})
|
|
52
|
+
]),
|
|
53
|
+
|
|
54
|
+
contentBody: style([
|
|
55
|
+
style({
|
|
56
|
+
flexGrow: 1
|
|
57
|
+
})
|
|
58
|
+
]),
|
|
59
|
+
|
|
60
|
+
sidebarHeader: style({ flexShrink: 0 }),
|
|
61
|
+
|
|
62
|
+
wrapper: style({
|
|
63
|
+
width: '100%',
|
|
64
|
+
overflow: 'hidden',
|
|
65
|
+
position: 'relative'
|
|
66
|
+
})
|
|
67
|
+
};
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { Caption1, Caption2, Link } from '@jpmorganchase/mosaic-components';
|
|
3
|
+
|
|
4
|
+
import styles from './styles.css';
|
|
5
|
+
|
|
6
|
+
export type Item = { level: number; id: string; text: string };
|
|
7
|
+
|
|
8
|
+
function TableOfContentsItem({ item }) {
|
|
9
|
+
return (
|
|
10
|
+
<li aria-label={item.text} aria-level={1} className={styles.item} tabIndex={-1}>
|
|
11
|
+
<Link className={item.parentProps.className} href={item.href} variant="component">
|
|
12
|
+
<Caption2 className={item.className}>{item.text}</Caption2>
|
|
13
|
+
</Link>
|
|
14
|
+
</li>
|
|
15
|
+
);
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
export function ExportsSidebar({ items }) {
|
|
19
|
+
if (!items) {
|
|
20
|
+
throw new Error('No `items` specified for Exports Sidebar TOC.');
|
|
21
|
+
}
|
|
22
|
+
if (!items.length) {
|
|
23
|
+
return null;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
return (
|
|
27
|
+
<nav>
|
|
28
|
+
<Caption1>Exports</Caption1>
|
|
29
|
+
<ul aria-label="Exports" className={styles.list} role="tree">
|
|
30
|
+
{items.map((item, i) => (
|
|
31
|
+
<TableOfContentsItem item={item} key={`exports_${i}`} />
|
|
32
|
+
))}
|
|
33
|
+
</ul>
|
|
34
|
+
</nav>
|
|
35
|
+
);
|
|
36
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import { style } from '@vanilla-extract/css';
|
|
2
|
+
import { link, navigableBorder, responsiveSprinkles } from '@jpmorganchase/mosaic-theme';
|
|
3
|
+
|
|
4
|
+
export default {
|
|
5
|
+
root: style({
|
|
6
|
+
position: 'sticky'
|
|
7
|
+
}),
|
|
8
|
+
list: style([
|
|
9
|
+
style({
|
|
10
|
+
listStyle: 'none'
|
|
11
|
+
}),
|
|
12
|
+
responsiveSprinkles({
|
|
13
|
+
marginTop: ['x4', 'x4', 'x4', 'x4'],
|
|
14
|
+
marginBottom: ['x6', 'x6', 'x6', 'x6'],
|
|
15
|
+
padding: ['none', 'none', 'none', 'none']
|
|
16
|
+
})
|
|
17
|
+
]),
|
|
18
|
+
item: style([
|
|
19
|
+
{
|
|
20
|
+
cursor: 'pointer',
|
|
21
|
+
position: 'relative',
|
|
22
|
+
display: 'block'
|
|
23
|
+
},
|
|
24
|
+
navigableBorder({
|
|
25
|
+
variant: 'unselected',
|
|
26
|
+
borderLeftWidth: 'medium'
|
|
27
|
+
}),
|
|
28
|
+
navigableBorder({
|
|
29
|
+
variant: 'hover',
|
|
30
|
+
borderLeftWidth: 'medium'
|
|
31
|
+
}),
|
|
32
|
+
navigableBorder({
|
|
33
|
+
variant: 'selected',
|
|
34
|
+
borderLeftWidth: 'medium'
|
|
35
|
+
}),
|
|
36
|
+
link({ variant: 'selectable' }),
|
|
37
|
+
responsiveSprinkles({
|
|
38
|
+
paddingTop: ['x2', 'x2', 'x2', 'x2'],
|
|
39
|
+
paddingRight: ['x4', 'x4', 'x4', 'x4'],
|
|
40
|
+
paddingBottom: ['x2', 'x2', 'x2', 'x2'],
|
|
41
|
+
paddingLeft: ['x4', 'x4', 'x4', 'x4']
|
|
42
|
+
})
|
|
43
|
+
])
|
|
44
|
+
};
|