@yakad/ui 1.2.69-beta → 1.2.71-beta
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/appBar/appBar.module.css +14 -14
- package/appBar/appBar.tsx +15 -15
- package/button/button.module.css +167 -167
- package/button/button.tsx +85 -85
- package/card/card.module.css +11 -11
- package/card/card.tsx +15 -15
- package/clickAwayListener/clickAwayListener.tsx +27 -27
- package/client.tsx +4 -4
- package/codeField/codeField.module.css +23 -23
- package/codeField/codeField.tsx +32 -32
- package/container/container.module.css +24 -24
- package/container/container.tsx +27 -27
- package/footer/footer.module.css +9 -9
- package/footer/footer.tsx +15 -15
- package/form/form.module.css +6 -6
- package/form/form.tsx +23 -23
- package/gridContainer/gridContainer.module.css +5 -5
- package/gridContainer/gridContainer.tsx +28 -28
- package/gridItem/gridItem.module.css +192 -192
- package/gridItem/gridItem.tsx +31 -31
- package/historyBack/historyBack.tsx +20 -20
- package/hr/hr.module.css +19 -19
- package/hr/hr.tsx +32 -32
- package/index.tsx +46 -46
- package/inputField/inputField.module.css +167 -167
- package/inputField/inputField.tsx +38 -38
- package/list/list.module.css +22 -22
- package/list/list.tsx +25 -25
- package/listItem/listItem.module.css +6 -6
- package/listItem/listItem.tsx +12 -12
- package/loading/loading.module.css +91 -91
- package/loading/loading.tsx +25 -25
- package/main/main.module.css +19 -19
- package/main/main.tsx +25 -25
- package/navigation/navigation.module.css +61 -58
- package/navigation/navigation.tsx +24 -24
- package/package.json +32 -32
- package/page/page.module.css +10 -10
- package/page/page.tsx +15 -15
- package/row/row.module.css +7 -7
- package/row/row.tsx +15 -15
- package/spacer/spacer.module.css +5 -5
- package/spacer/spacer.tsx +8 -8
- package/stack/stack.module.css +6 -6
- package/stack/stack.tsx +15 -15
- package/svgIcon/svgIcon.module.css +5 -5
- package/svgIcon/svgIcon.tsx +26 -26
- package/theme/theme.module.css +397 -397
- package/theme/theme.tsx +29 -29
- package/theme/zoom.css +3 -3
- package/tsconfig.json +13 -13
- package/appBar/appBar.d.ts +0 -3
- package/appBar/appBar.js +0 -9
- package/appBar/appBar.js.map +0 -1
- package/button/button.d.ts +0 -14
- package/button/button.js +0 -25
- package/button/button.js.map +0 -1
- package/card/card.d.ts +0 -3
- package/card/card.js +0 -9
- package/card/card.js.map +0 -1
- package/clickAwayListener/clickAwayListener.d.ts +0 -6
- package/clickAwayListener/clickAwayListener.js +0 -17
- package/clickAwayListener/clickAwayListener.js.map +0 -1
- package/client.d.ts +0 -3
- package/client.js +0 -4
- package/client.js.map +0 -1
- package/codeField/codeField.d.ts +0 -8
- package/codeField/codeField.js +0 -10
- package/codeField/codeField.js.map +0 -1
- package/container/container.d.ts +0 -8
- package/container/container.js +0 -9
- package/container/container.js.map +0 -1
- package/footer/footer.d.ts +0 -3
- package/footer/footer.js +0 -9
- package/footer/footer.js.map +0 -1
- package/form/form.d.ts +0 -3
- package/form/form.js +0 -12
- package/form/form.js.map +0 -1
- package/gridContainer/gridContainer.d.ts +0 -7
- package/gridContainer/gridContainer.js +0 -11
- package/gridContainer/gridContainer.js.map +0 -1
- package/gridItem/gridItem.d.ts +0 -10
- package/gridItem/gridItem.js +0 -10
- package/gridItem/gridItem.js.map +0 -1
- package/historyBack/historyBack.d.ts +0 -3
- package/historyBack/historyBack.js +0 -11
- package/historyBack/historyBack.js.map +0 -1
- package/hr/hr.d.ts +0 -8
- package/hr/hr.js +0 -12
- package/hr/hr.js.map +0 -1
- package/index.d.ts +0 -23
- package/index.js +0 -24
- package/index.js.map +0 -1
- package/inputField/inputField.d.ts +0 -12
- package/inputField/inputField.js +0 -11
- package/inputField/inputField.js.map +0 -1
- package/list/list.d.ts +0 -7
- package/list/list.js +0 -9
- package/list/list.js.map +0 -1
- package/listItem/listItem.d.ts +0 -3
- package/listItem/listItem.js +0 -7
- package/listItem/listItem.js.map +0 -1
- package/loading/loading.d.ts +0 -7
- package/loading/loading.js +0 -10
- package/loading/loading.js.map +0 -1
- package/main/main.d.ts +0 -6
- package/main/main.js +0 -10
- package/main/main.js.map +0 -1
- package/navigation/navigation.d.ts +0 -7
- package/navigation/navigation.js +0 -9
- package/navigation/navigation.js.map +0 -1
- package/page/page.d.ts +0 -3
- package/page/page.js +0 -9
- package/page/page.js.map +0 -1
- package/row/row.d.ts +0 -3
- package/row/row.js +0 -9
- package/row/row.js.map +0 -1
- package/spacer/spacer.d.ts +0 -3
- package/spacer/spacer.js +0 -7
- package/spacer/spacer.js.map +0 -1
- package/stack/stack.d.ts +0 -3
- package/stack/stack.js +0 -9
- package/stack/stack.js.map +0 -1
- package/svgIcon/svgIcon.d.ts +0 -6
- package/svgIcon/svgIcon.js +0 -12
- package/svgIcon/svgIcon.js.map +0 -1
- package/theme/theme.d.ts +0 -9
- package/theme/theme.js +0 -12
- package/theme/theme.js.map +0 -1
package/client.tsx
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import ClickAwayListener from "./clickAwayListener/clickAwayListener";
|
|
2
|
-
import HistoryBack from "./historyBack/historyBack";
|
|
3
|
-
|
|
4
|
-
export { ClickAwayListener, HistoryBack };
|
|
1
|
+
import ClickAwayListener from "./clickAwayListener/clickAwayListener";
|
|
2
|
+
import HistoryBack from "./historyBack/historyBack";
|
|
3
|
+
|
|
4
|
+
export { ClickAwayListener, HistoryBack };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
.input {
|
|
2
|
-
box-sizing: border-box;
|
|
3
|
-
display: block;
|
|
4
|
-
border: none;
|
|
5
|
-
padding: 0;
|
|
6
|
-
margin: 0;
|
|
7
|
-
margin-left: 0.5ch;
|
|
8
|
-
background: repeating-linear-gradient(
|
|
9
|
-
90deg,
|
|
10
|
-
#7d7d7d 0,
|
|
11
|
-
#7d7d7d 1ch,
|
|
12
|
-
transparent 0,
|
|
13
|
-
transparent 1.5ch
|
|
14
|
-
)
|
|
15
|
-
0 100%/100% 0.2rem no-repeat;
|
|
16
|
-
color: transparent;
|
|
17
|
-
text-shadow: 0 0 0 rgb(var(--secondaryColor, 98 91 113));
|
|
18
|
-
font: 5ch consolas, monospace;
|
|
19
|
-
letter-spacing: 0.5ch;
|
|
20
|
-
}
|
|
21
|
-
.input:focus {
|
|
22
|
-
outline: none;
|
|
23
|
-
}
|
|
1
|
+
.input {
|
|
2
|
+
box-sizing: border-box;
|
|
3
|
+
display: block;
|
|
4
|
+
border: none;
|
|
5
|
+
padding: 0;
|
|
6
|
+
margin: 0;
|
|
7
|
+
margin-left: 0.5ch;
|
|
8
|
+
background: repeating-linear-gradient(
|
|
9
|
+
90deg,
|
|
10
|
+
#7d7d7d 0,
|
|
11
|
+
#7d7d7d 1ch,
|
|
12
|
+
transparent 0,
|
|
13
|
+
transparent 1.5ch
|
|
14
|
+
)
|
|
15
|
+
0 100%/100% 0.2rem no-repeat;
|
|
16
|
+
color: transparent;
|
|
17
|
+
text-shadow: 0 0 0 rgb(var(--secondaryColor, 98 91 113));
|
|
18
|
+
font: 5ch consolas, monospace;
|
|
19
|
+
letter-spacing: 0.5ch;
|
|
20
|
+
}
|
|
21
|
+
.input:focus {
|
|
22
|
+
outline: none;
|
|
23
|
+
}
|
package/codeField/codeField.tsx
CHANGED
|
@@ -1,32 +1,32 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import { joinClassNames, joinStyles } from "@yakad/lib";
|
|
3
|
-
import styles from "./codeField.module.css";
|
|
4
|
-
|
|
5
|
-
interface CodeFieldsProps extends React.HTMLAttributes<HTMLInputElement> {
|
|
6
|
-
length?: number;
|
|
7
|
-
name?: string;
|
|
8
|
-
type?: string;
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
function CodeField(props: CodeFieldsProps) {
|
|
12
|
-
const joinedClassNames = joinClassNames(styles.input, props.className!);
|
|
13
|
-
|
|
14
|
-
const joinedStyles = joinStyles(
|
|
15
|
-
{ width: "calc(1.5ch * " + props.length + ")" },
|
|
16
|
-
props.style!
|
|
17
|
-
);
|
|
18
|
-
|
|
19
|
-
return (
|
|
20
|
-
<input
|
|
21
|
-
{...props}
|
|
22
|
-
name={props.name}
|
|
23
|
-
type={props.type}
|
|
24
|
-
minLength={props.length}
|
|
25
|
-
maxLength={props.length}
|
|
26
|
-
className={joinedClassNames}
|
|
27
|
-
style={joinedStyles}
|
|
28
|
-
/>
|
|
29
|
-
);
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
export default CodeField;
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { joinClassNames, joinStyles } from "@yakad/lib";
|
|
3
|
+
import styles from "./codeField.module.css";
|
|
4
|
+
|
|
5
|
+
interface CodeFieldsProps extends React.HTMLAttributes<HTMLInputElement> {
|
|
6
|
+
length?: number;
|
|
7
|
+
name?: string;
|
|
8
|
+
type?: string;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
function CodeField(props: CodeFieldsProps) {
|
|
12
|
+
const joinedClassNames = joinClassNames(styles.input, props.className!);
|
|
13
|
+
|
|
14
|
+
const joinedStyles = joinStyles(
|
|
15
|
+
{ width: "calc(1.5ch * " + props.length + ")" },
|
|
16
|
+
props.style!
|
|
17
|
+
);
|
|
18
|
+
|
|
19
|
+
return (
|
|
20
|
+
<input
|
|
21
|
+
{...props}
|
|
22
|
+
name={props.name}
|
|
23
|
+
type={props.type}
|
|
24
|
+
minLength={props.length}
|
|
25
|
+
maxLength={props.length}
|
|
26
|
+
className={joinedClassNames}
|
|
27
|
+
style={joinedStyles}
|
|
28
|
+
/>
|
|
29
|
+
);
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
export default CodeField;
|
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
div.container {
|
|
2
|
-
display: flex;
|
|
3
|
-
flex-direction: inherit;
|
|
4
|
-
width: 100%;
|
|
5
|
-
padding: 2rem;
|
|
6
|
-
margin: auto;
|
|
7
|
-
box-sizing: border-box;
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
div.container.xs {
|
|
11
|
-
max-width: 44.4rem;
|
|
12
|
-
}
|
|
13
|
-
div.container.sm {
|
|
14
|
-
max-width: 60rem;
|
|
15
|
-
}
|
|
16
|
-
div.container.md {
|
|
17
|
-
max-width: 90rem;
|
|
18
|
-
}
|
|
19
|
-
div.container.lg {
|
|
20
|
-
max-width: 120rem;
|
|
21
|
-
}
|
|
22
|
-
div.container.xl {
|
|
23
|
-
max-width: 150rem;
|
|
24
|
-
}
|
|
1
|
+
div.container {
|
|
2
|
+
display: flex;
|
|
3
|
+
flex-direction: inherit;
|
|
4
|
+
width: 100%;
|
|
5
|
+
padding: 2rem;
|
|
6
|
+
margin: auto;
|
|
7
|
+
box-sizing: border-box;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
div.container.xs {
|
|
11
|
+
max-width: 44.4rem;
|
|
12
|
+
}
|
|
13
|
+
div.container.sm {
|
|
14
|
+
max-width: 60rem;
|
|
15
|
+
}
|
|
16
|
+
div.container.md {
|
|
17
|
+
max-width: 90rem;
|
|
18
|
+
}
|
|
19
|
+
div.container.lg {
|
|
20
|
+
max-width: 120rem;
|
|
21
|
+
}
|
|
22
|
+
div.container.xl {
|
|
23
|
+
max-width: 150rem;
|
|
24
|
+
}
|
package/container/container.tsx
CHANGED
|
@@ -1,27 +1,27 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import { joinClassNames, joinStyles } from "@yakad/lib";
|
|
3
|
-
import styles from "./container.module.css";
|
|
4
|
-
|
|
5
|
-
type ScreenSize = "xs" | "sm" | "md" | "lg" | "xl";
|
|
6
|
-
|
|
7
|
-
interface ContainerProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
8
|
-
maxWidth?: ScreenSize;
|
|
9
|
-
background?: "dotted";
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
function Container(props: ContainerProps) {
|
|
13
|
-
const joinedClassNames = joinClassNames(
|
|
14
|
-
props.maxWidth ? styles[props.maxWidth] : "",
|
|
15
|
-
props.background ? styles[props.background] : "",
|
|
16
|
-
styles.container,
|
|
17
|
-
props.className!
|
|
18
|
-
);
|
|
19
|
-
|
|
20
|
-
return (
|
|
21
|
-
<div {...props} className={joinedClassNames}>
|
|
22
|
-
{props.children}
|
|
23
|
-
</div>
|
|
24
|
-
);
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
export default Container;
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { joinClassNames, joinStyles } from "@yakad/lib";
|
|
3
|
+
import styles from "./container.module.css";
|
|
4
|
+
|
|
5
|
+
type ScreenSize = "xs" | "sm" | "md" | "lg" | "xl";
|
|
6
|
+
|
|
7
|
+
interface ContainerProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
8
|
+
maxWidth?: ScreenSize;
|
|
9
|
+
background?: "dotted";
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
function Container(props: ContainerProps) {
|
|
13
|
+
const joinedClassNames = joinClassNames(
|
|
14
|
+
props.maxWidth ? styles[props.maxWidth] : "",
|
|
15
|
+
props.background ? styles[props.background] : "",
|
|
16
|
+
styles.container,
|
|
17
|
+
props.className!
|
|
18
|
+
);
|
|
19
|
+
|
|
20
|
+
return (
|
|
21
|
+
<div {...props} className={joinedClassNames}>
|
|
22
|
+
{props.children}
|
|
23
|
+
</div>
|
|
24
|
+
);
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
export default Container;
|
package/footer/footer.module.css
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
.footer {
|
|
2
|
-
background: rgb(var(--surfaceContainerColor, 243 237 247));
|
|
3
|
-
color: rgb(var(--onSurfaceColor, 28 27 31));
|
|
4
|
-
fill: rgb(var(--onSurfaceColor, 28 27 31));
|
|
5
|
-
display: flex;
|
|
6
|
-
flex-direction: row;
|
|
7
|
-
width: 100%;
|
|
8
|
-
box-sizing: border-box;
|
|
9
|
-
}
|
|
1
|
+
.footer {
|
|
2
|
+
background: rgb(var(--surfaceContainerColor, 243 237 247));
|
|
3
|
+
color: rgb(var(--onSurfaceColor, 28 27 31));
|
|
4
|
+
fill: rgb(var(--onSurfaceColor, 28 27 31));
|
|
5
|
+
display: flex;
|
|
6
|
+
flex-direction: row;
|
|
7
|
+
width: 100%;
|
|
8
|
+
box-sizing: border-box;
|
|
9
|
+
}
|
package/footer/footer.tsx
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import { joinClassNames } from "@yakad/lib";
|
|
3
|
-
import styles from "./footer.module.css";
|
|
4
|
-
|
|
5
|
-
function Footer(props: React.HTMLAttributes<HTMLElement>) {
|
|
6
|
-
const joinedClassNames = joinClassNames(styles.footer, props.className!);
|
|
7
|
-
|
|
8
|
-
return (
|
|
9
|
-
<footer {...props} className={joinedClassNames}>
|
|
10
|
-
{props.children}
|
|
11
|
-
</footer>
|
|
12
|
-
);
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
export default Footer;
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { joinClassNames } from "@yakad/lib";
|
|
3
|
+
import styles from "./footer.module.css";
|
|
4
|
+
|
|
5
|
+
function Footer(props: React.HTMLAttributes<HTMLElement>) {
|
|
6
|
+
const joinedClassNames = joinClassNames(styles.footer, props.className!);
|
|
7
|
+
|
|
8
|
+
return (
|
|
9
|
+
<footer {...props} className={joinedClassNames}>
|
|
10
|
+
{props.children}
|
|
11
|
+
</footer>
|
|
12
|
+
);
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
export default Footer;
|
package/form/form.module.css
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
.form {
|
|
2
|
-
display: flex;
|
|
3
|
-
flex-direction: column;
|
|
4
|
-
gap: 1.5rem;
|
|
5
|
-
width: 100%;
|
|
6
|
-
}
|
|
1
|
+
.form {
|
|
2
|
+
display: flex;
|
|
3
|
+
flex-direction: column;
|
|
4
|
+
gap: 1.5rem;
|
|
5
|
+
width: 100%;
|
|
6
|
+
}
|
package/form/form.tsx
CHANGED
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import { joinClassNames, joinStyles } from "@yakad/lib";
|
|
3
|
-
import styles from "./form.module.css";
|
|
4
|
-
|
|
5
|
-
function Form(props: React.HTMLAttributes<HTMLFormElement>) {
|
|
6
|
-
const joinedClassNames = joinClassNames(styles.form, props.className!);
|
|
7
|
-
|
|
8
|
-
return (
|
|
9
|
-
<form
|
|
10
|
-
{...props}
|
|
11
|
-
className={joinedClassNames}
|
|
12
|
-
onSubmit={(e) => {
|
|
13
|
-
e.preventDefault();
|
|
14
|
-
|
|
15
|
-
props.onSubmit!(null as any);
|
|
16
|
-
}}
|
|
17
|
-
>
|
|
18
|
-
{props.children}
|
|
19
|
-
</form>
|
|
20
|
-
);
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
export default Form;
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { joinClassNames, joinStyles } from "@yakad/lib";
|
|
3
|
+
import styles from "./form.module.css";
|
|
4
|
+
|
|
5
|
+
function Form(props: React.HTMLAttributes<HTMLFormElement>) {
|
|
6
|
+
const joinedClassNames = joinClassNames(styles.form, props.className!);
|
|
7
|
+
|
|
8
|
+
return (
|
|
9
|
+
<form
|
|
10
|
+
{...props}
|
|
11
|
+
className={joinedClassNames}
|
|
12
|
+
onSubmit={(e) => {
|
|
13
|
+
e.preventDefault();
|
|
14
|
+
|
|
15
|
+
props.onSubmit!(null as any);
|
|
16
|
+
}}
|
|
17
|
+
>
|
|
18
|
+
{props.children}
|
|
19
|
+
</form>
|
|
20
|
+
);
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
export default Form;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
.gridcontainer {
|
|
2
|
-
display: grid;
|
|
3
|
-
box-sizing: border-box;
|
|
4
|
-
grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr;
|
|
5
|
-
}
|
|
1
|
+
.gridcontainer {
|
|
2
|
+
display: grid;
|
|
3
|
+
box-sizing: border-box;
|
|
4
|
+
grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr;
|
|
5
|
+
}
|
|
@@ -1,28 +1,28 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import { joinClassNames, joinStyles } from "@yakad/lib";
|
|
3
|
-
import styles from "./gridContainer.module.css";
|
|
4
|
-
|
|
5
|
-
interface GridContainerProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
6
|
-
rowGap?: number;
|
|
7
|
-
columnGap?: number;
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
// Custom Button Element
|
|
11
|
-
function GridContainer(props: GridContainerProps) {
|
|
12
|
-
const joinedClassNames = joinClassNames(
|
|
13
|
-
styles.gridcontainer,
|
|
14
|
-
props.className!
|
|
15
|
-
);
|
|
16
|
-
const joinedStyles = joinStyles(
|
|
17
|
-
{ columnGap: props.columnGap ? props.columnGap + "rem" : "1.5rem" },
|
|
18
|
-
{ rowGap: props.rowGap ? props.rowGap + "rem" : "1.5rem" },
|
|
19
|
-
props.style!
|
|
20
|
-
);
|
|
21
|
-
return (
|
|
22
|
-
<div {...props} className={joinedClassNames} style={joinedStyles}>
|
|
23
|
-
{props.children}
|
|
24
|
-
</div>
|
|
25
|
-
);
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
export default GridContainer;
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { joinClassNames, joinStyles } from "@yakad/lib";
|
|
3
|
+
import styles from "./gridContainer.module.css";
|
|
4
|
+
|
|
5
|
+
interface GridContainerProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
6
|
+
rowGap?: number;
|
|
7
|
+
columnGap?: number;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
// Custom Button Element
|
|
11
|
+
function GridContainer(props: GridContainerProps) {
|
|
12
|
+
const joinedClassNames = joinClassNames(
|
|
13
|
+
styles.gridcontainer,
|
|
14
|
+
props.className!
|
|
15
|
+
);
|
|
16
|
+
const joinedStyles = joinStyles(
|
|
17
|
+
{ columnGap: props.columnGap ? props.columnGap + "rem" : "1.5rem" },
|
|
18
|
+
{ rowGap: props.rowGap ? props.rowGap + "rem" : "1.5rem" },
|
|
19
|
+
props.style!
|
|
20
|
+
);
|
|
21
|
+
return (
|
|
22
|
+
<div {...props} className={joinedClassNames} style={joinedStyles}>
|
|
23
|
+
{props.children}
|
|
24
|
+
</div>
|
|
25
|
+
);
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
export default GridContainer;
|