@jpmorganchase/mosaic-layouts 0.1.0-beta.9

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.
Files changed (205) hide show
  1. package/.turbo/turbo-build.log +4 -0
  2. package/README.md +39 -0
  3. package/dist/Fade.d.ts +11 -0
  4. package/dist/Fade.js +1 -0
  5. package/dist/LayoutBase/index.css +1 -0
  6. package/dist/LayoutBase/index.d.ts +6 -0
  7. package/dist/LayoutBase/index.js +1 -0
  8. package/dist/LayoutBase/styles.css.css +1 -0
  9. package/dist/LayoutBase/styles.css.d.ts +8 -0
  10. package/dist/LayoutBase/styles.css.js +1 -0
  11. package/dist/LayoutColumns/index.css +1 -0
  12. package/dist/LayoutColumns/index.d.ts +7 -0
  13. package/dist/LayoutColumns/index.js +1 -0
  14. package/dist/LayoutColumns/styles.css.css +1 -0
  15. package/dist/LayoutColumns/styles.css.d.ts +9 -0
  16. package/dist/LayoutColumns/styles.css.js +1 -0
  17. package/dist/LayoutConfigProvider/index.d.ts +6 -0
  18. package/dist/LayoutConfigProvider/index.js +1 -0
  19. package/dist/LayoutFullWidth/index.css +1 -0
  20. package/dist/LayoutFullWidth/index.d.ts +7 -0
  21. package/dist/LayoutFullWidth/index.js +1 -0
  22. package/dist/LayoutFullWidth/styles.css.css +1 -0
  23. package/dist/LayoutFullWidth/styles.css.d.ts +4 -0
  24. package/dist/LayoutFullWidth/styles.css.js +1 -0
  25. package/dist/LayoutProvider.css +1 -0
  26. package/dist/LayoutProvider.d.ts +10 -0
  27. package/dist/LayoutProvider.js +1 -0
  28. package/dist/Sidebars/Drawer.css +1 -0
  29. package/dist/Sidebars/Drawer.d.ts +5 -0
  30. package/dist/Sidebars/Drawer.js +1 -0
  31. package/dist/Sidebars/SidebarLeft.css +1 -0
  32. package/dist/Sidebars/SidebarLeft.d.ts +5 -0
  33. package/dist/Sidebars/SidebarLeft.js +1 -0
  34. package/dist/Sidebars/SidebarRight.css +1 -0
  35. package/dist/Sidebars/SidebarRight.d.ts +5 -0
  36. package/dist/Sidebars/SidebarRight.js +1 -0
  37. package/dist/Sidebars/index.css +1 -0
  38. package/dist/Sidebars/index.d.ts +2 -0
  39. package/dist/Sidebars/index.js +1 -0
  40. package/dist/Sidebars/styles.css.css +1 -0
  41. package/dist/Sidebars/styles.css.d.ts +13 -0
  42. package/dist/Sidebars/styles.css.js +1 -0
  43. package/dist/chunk-2Y7E2F4F.js +1 -0
  44. package/dist/chunk-365SCIKJ.js +1 -0
  45. package/dist/chunk-475WQFFV.js +0 -0
  46. package/dist/chunk-53T3BYR6.js +1 -0
  47. package/dist/chunk-5CMT2ZB7.js +1 -0
  48. package/dist/chunk-5UCWV6EJ.js +21 -0
  49. package/dist/chunk-6OVRDMTN.js +1 -0
  50. package/dist/chunk-7UEIPZZD.js +1 -0
  51. package/dist/chunk-B4T3CMOF.js +1 -0
  52. package/dist/chunk-BIWHBDPI.js +1 -0
  53. package/dist/chunk-BJ6T7WZV.js +1 -0
  54. package/dist/chunk-CQGMVPED.js +1 -0
  55. package/dist/chunk-DE36TWIF.js +1 -0
  56. package/dist/chunk-DQ7NCUDO.js +1 -0
  57. package/dist/chunk-DTW4UURD.js +1 -0
  58. package/dist/chunk-EHVQUK5M.js +1 -0
  59. package/dist/chunk-FTBY4K3Z.js +1 -0
  60. package/dist/chunk-H3KZTXVJ.js +1 -0
  61. package/dist/chunk-HANSMKYF.js +1 -0
  62. package/dist/chunk-IBOB6W4E.js +1 -0
  63. package/dist/chunk-IYWRLYME.js +1 -0
  64. package/dist/chunk-NDZQ5OZP.js +0 -0
  65. package/dist/chunk-OGKKALEL.js +1 -0
  66. package/dist/chunk-P34YRBM6.js +1 -0
  67. package/dist/chunk-PKAR7XZI.js +0 -0
  68. package/dist/chunk-PL34I4WI.js +1 -0
  69. package/dist/chunk-PL5OYTQO.js +1 -0
  70. package/dist/chunk-PNBJEM6G.js +1 -0
  71. package/dist/chunk-Q4PDOZVB.js +1 -0
  72. package/dist/chunk-RSL4VOEW.js +1 -0
  73. package/dist/chunk-RWSFNK3E.js +1 -0
  74. package/dist/chunk-TG7BCCJ4.js +1 -0
  75. package/dist/chunk-UA3BLLVS.js +1 -0
  76. package/dist/chunk-UAKGMBD2.js +1 -0
  77. package/dist/chunk-ULGDXPWY.js +1 -0
  78. package/dist/chunk-X2LSXOCH.js +1 -0
  79. package/dist/chunk-XSGX6KV2.js +1 -0
  80. package/dist/chunk-XVK33OXS.js +1 -0
  81. package/dist/chunk-ZXI72DLC.js +1 -0
  82. package/dist/hooks/useIsLoading.d.ts +6 -0
  83. package/dist/hooks/useIsLoading.js +1 -0
  84. package/dist/index.css +1 -0
  85. package/dist/index.d.ts +8 -0
  86. package/dist/index.js +1 -0
  87. package/dist/layouts/App/index.css +1 -0
  88. package/dist/layouts/App/index.d.ts +3 -0
  89. package/dist/layouts/App/index.js +1 -0
  90. package/dist/layouts/App/styles.css.css +1 -0
  91. package/dist/layouts/App/styles.css.d.ts +4 -0
  92. package/dist/layouts/App/styles.css.js +1 -0
  93. package/dist/layouts/Detail/DetailContentOnly.css +1 -0
  94. package/dist/layouts/Detail/DetailContentOnly.d.ts +3 -0
  95. package/dist/layouts/Detail/DetailContentOnly.js +1 -0
  96. package/dist/layouts/Detail/DetailHighlight.css +1 -0
  97. package/dist/layouts/Detail/DetailHighlight.d.ts +3 -0
  98. package/dist/layouts/Detail/DetailHighlight.js +1 -0
  99. package/dist/layouts/Detail/DetailOverview.css +1 -0
  100. package/dist/layouts/Detail/DetailOverview.d.ts +3 -0
  101. package/dist/layouts/Detail/DetailOverview.js +1 -0
  102. package/dist/layouts/Detail/DetailTechnical.css +1 -0
  103. package/dist/layouts/Detail/DetailTechnical.d.ts +3 -0
  104. package/dist/layouts/Detail/DetailTechnical.js +1 -0
  105. package/dist/layouts/Detail/index.css +1 -0
  106. package/dist/layouts/Detail/index.d.ts +4 -0
  107. package/dist/layouts/Detail/index.js +1 -0
  108. package/dist/layouts/Detail/styles.css.css +1 -0
  109. package/dist/layouts/Detail/styles.css.d.ts +4 -0
  110. package/dist/layouts/Detail/styles.css.js +1 -0
  111. package/dist/layouts/Edit/index.css +1 -0
  112. package/dist/layouts/Edit/index.d.ts +3 -0
  113. package/dist/layouts/Edit/index.js +1 -0
  114. package/dist/layouts/Edit/styles.css.css +1 -0
  115. package/dist/layouts/Edit/styles.css.d.ts +5 -0
  116. package/dist/layouts/Edit/styles.css.js +1 -0
  117. package/dist/layouts/FullWidth/index.css +1 -0
  118. package/dist/layouts/FullWidth/index.d.ts +3 -0
  119. package/dist/layouts/FullWidth/index.js +1 -0
  120. package/dist/layouts/Landing/index.css +1 -0
  121. package/dist/layouts/Landing/index.d.ts +3 -0
  122. package/dist/layouts/Landing/index.js +1 -0
  123. package/dist/layouts/Newsletter/index.css +1 -0
  124. package/dist/layouts/Newsletter/index.d.ts +5 -0
  125. package/dist/layouts/Newsletter/index.js +1 -0
  126. package/dist/layouts/Product/ProductDiscover.css +1 -0
  127. package/dist/layouts/Product/ProductDiscover.d.ts +3 -0
  128. package/dist/layouts/Product/ProductDiscover.js +1 -0
  129. package/dist/layouts/Product/ProductPreview.css +1 -0
  130. package/dist/layouts/Product/ProductPreview.d.ts +3 -0
  131. package/dist/layouts/Product/ProductPreview.js +1 -0
  132. package/dist/layouts/Product/index.css +1 -0
  133. package/dist/layouts/Product/index.d.ts +2 -0
  134. package/dist/layouts/Product/index.js +1 -0
  135. package/dist/layouts/PythonDoc/index.css +1 -0
  136. package/dist/layouts/PythonDoc/index.d.ts +3 -0
  137. package/dist/layouts/PythonDoc/index.js +1 -0
  138. package/dist/layouts/PythonDoc/styles.css.css +1 -0
  139. package/dist/layouts/PythonDoc/styles.css.d.ts +12 -0
  140. package/dist/layouts/PythonDoc/styles.css.js +1 -0
  141. package/dist/layouts/TypeDoc/ExportsSidebar/index.css +1 -0
  142. package/dist/layouts/TypeDoc/ExportsSidebar/index.d.ts +9 -0
  143. package/dist/layouts/TypeDoc/ExportsSidebar/index.js +1 -0
  144. package/dist/layouts/TypeDoc/ExportsSidebar/styles.css.css +1 -0
  145. package/dist/layouts/TypeDoc/ExportsSidebar/styles.css.d.ts +6 -0
  146. package/dist/layouts/TypeDoc/ExportsSidebar/styles.css.js +1 -0
  147. package/dist/layouts/TypeDoc/index.css +1 -0
  148. package/dist/layouts/TypeDoc/index.d.ts +3 -0
  149. package/dist/layouts/TypeDoc/index.js +1 -0
  150. package/dist/layouts/TypeDoc/styles.css.css +1 -0
  151. package/dist/layouts/TypeDoc/styles.css.d.ts +7 -0
  152. package/dist/layouts/TypeDoc/styles.css.js +1 -0
  153. package/dist/layouts/index.css +1 -0
  154. package/dist/layouts/index.d.ts +9 -0
  155. package/dist/layouts/index.js +1 -0
  156. package/dist/types/index.d.ts +34 -0
  157. package/dist/types/index.js +1 -0
  158. package/package.json +41 -0
  159. package/src/Fade.tsx +48 -0
  160. package/src/LayoutBase/index.tsx +35 -0
  161. package/src/LayoutBase/styles.css.ts +73 -0
  162. package/src/LayoutColumns/index.tsx +36 -0
  163. package/src/LayoutColumns/styles.css.ts +64 -0
  164. package/src/LayoutConfigProvider/index.tsx +22 -0
  165. package/src/LayoutFullWidth/index.tsx +22 -0
  166. package/src/LayoutFullWidth/styles.css.ts +17 -0
  167. package/src/LayoutProvider.tsx +35 -0
  168. package/src/Sidebars/Drawer.tsx +66 -0
  169. package/src/Sidebars/SidebarLeft.tsx +15 -0
  170. package/src/Sidebars/SidebarRight.tsx +13 -0
  171. package/src/Sidebars/index.tsx +2 -0
  172. package/src/Sidebars/styles.css.ts +101 -0
  173. package/src/hooks/useIsLoading.ts +75 -0
  174. package/src/index.ts +9 -0
  175. package/src/layouts/App/index.tsx +12 -0
  176. package/src/layouts/App/styles.css.ts +23 -0
  177. package/src/layouts/Detail/DetailContentOnly.tsx +15 -0
  178. package/src/layouts/Detail/DetailHighlight.tsx +24 -0
  179. package/src/layouts/Detail/DetailOverview.tsx +47 -0
  180. package/src/layouts/Detail/DetailTechnical.tsx +53 -0
  181. package/src/layouts/Detail/index.tsx +4 -0
  182. package/src/layouts/Detail/styles.css.ts +5 -0
  183. package/src/layouts/Edit/index.tsx +35 -0
  184. package/src/layouts/Edit/styles.css.ts +23 -0
  185. package/src/layouts/FullWidth/index.tsx +12 -0
  186. package/src/layouts/Landing/index.tsx +12 -0
  187. package/src/layouts/Newsletter/index.tsx +29 -0
  188. package/src/layouts/Product/ProductDiscover.tsx +15 -0
  189. package/src/layouts/Product/ProductPreview.tsx +12 -0
  190. package/src/layouts/Product/index.tsx +2 -0
  191. package/src/layouts/PythonDoc/index.tsx +86 -0
  192. package/src/layouts/PythonDoc/styles.css.ts +67 -0
  193. package/src/layouts/TypeDoc/ExportsSidebar/index.tsx +36 -0
  194. package/src/layouts/TypeDoc/ExportsSidebar/styles.css.ts +44 -0
  195. package/src/layouts/TypeDoc/icons.css +944 -0
  196. package/src/layouts/TypeDoc/icons.png +0 -0
  197. package/src/layouts/TypeDoc/icons@2x.png +0 -0
  198. package/src/layouts/TypeDoc/index.tsx +80 -0
  199. package/src/layouts/TypeDoc/style.css +689 -0
  200. package/src/layouts/TypeDoc/styles.css.ts +41 -0
  201. package/src/layouts/TypeDoc/widgets.png +0 -0
  202. package/src/layouts/TypeDoc/widgets@2x.png +0 -0
  203. package/src/layouts/index.ts +9 -0
  204. package/src/types/index.tsx +28 -0
  205. package/tsconfig.json +9 -0
@@ -0,0 +1,29 @@
1
+ import React from 'react';
2
+ import { AppHeader, DocPaginator, BackLink, Footer } from '@jpmorganchase/mosaic-site-components';
3
+
4
+ import { LayoutBase } from '../../LayoutBase';
5
+ import { LayoutColumns } from '../../LayoutColumns';
6
+ import type { LayoutProps } from '../../types';
7
+ import styles from '../Detail/styles.css';
8
+
9
+ export interface NewsletterProps extends LayoutProps {}
10
+
11
+ export const Newsletter: React.FC<NewsletterProps> = ({ children, BackLinkProps, FooterProps }) => {
12
+ const Sidebar = BackLinkProps?.link ? (
13
+ <header className={styles.sidebarHeader}>
14
+ <BackLink {...BackLinkProps} />
15
+ </header>
16
+ ) : null;
17
+ return (
18
+ <LayoutBase Header={<AppHeader />}>
19
+ <LayoutColumns
20
+ PrimarySidebar={Sidebar}
21
+ Footer={<Footer {...FooterProps} />}
22
+ SecondarySidebar={null}
23
+ >
24
+ {children}
25
+ <DocPaginator linkSuffix="Post" />
26
+ </LayoutColumns>
27
+ </LayoutBase>
28
+ );
29
+ };
@@ -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,2 @@
1
+ export { ProductDiscover } from './ProductDiscover';
2
+ export { ProductPreview } from './ProductPreview';
@@ -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
+ };