@yakad/ui 1.1.6 → 1.2.1

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.
@@ -0,0 +1,14 @@
1
+ .header {
2
+ display: flex;
3
+ flex-direction: row;
4
+ align-items: center;
5
+ box-sizing: border-box;
6
+ width: 100%;
7
+ height: 5rem;
8
+ padding: 0 2rem;
9
+ border-bottom: 0.1rem solid #7d7d7d40;
10
+ background: var(--headerColor);
11
+ color: var(--onHeaderColor);
12
+ fill: var(--onHeaderColor);
13
+ user-select: none;
14
+ }
@@ -0,0 +1,15 @@
1
+ import React from "react";
2
+ import { joinClassNames, joinStyles } from "@yakad/lib";
3
+ import styles from "./appBar.module.css";
4
+
5
+ function AppBar(props: React.HTMLAttributes<HTMLElement>) {
6
+ const joinedClassNames = joinClassNames(styles.header, props.className!);
7
+
8
+ return (
9
+ <header {...props} className={joinedClassNames}>
10
+ {props.children}
11
+ </header>
12
+ );
13
+ }
14
+
15
+ export default AppBar;
@@ -0,0 +1,12 @@
1
+ .card {
2
+ width: 100%;
3
+ padding: 3rem;
4
+ box-sizing: border-box;
5
+ border-radius: 2rem;
6
+ background: var(--surfaceColor);
7
+ color: var(--onSurfaceColor);
8
+ fill: var(--onSurfaceColor);
9
+ box-shadow: 0px 6px 10px 0px hsla(0, 0%, 0%, 0.14),
10
+ 0px 1px 18px 0px hsla(0, 0%, 0%, 0.12),
11
+ 0px 3px 5px -1px hsla(0, 0%, 0%, 0.2);
12
+ }
package/card/card.tsx ADDED
@@ -0,0 +1,15 @@
1
+ import React from "react";
2
+ import { joinClassNames } from "@yakad/lib";
3
+ import styles from "./card.module.css";
4
+
5
+ function Card(props: React.HTMLAttributes<HTMLElement>) {
6
+ const joinedClassNames = joinClassNames(styles.card, props.className!);
7
+
8
+ return (
9
+ <div {...props} className={joinedClassNames}>
10
+ {props.children}
11
+ </div>
12
+ );
13
+ }
14
+
15
+ export default Card;
@@ -0,0 +1,23 @@
1
+ div.container {
2
+ display: flex;
3
+ flex-direction: inherit;
4
+ width: 100%;
5
+ margin: auto;
6
+ box-sizing: border-box;
7
+ }
8
+
9
+ div.container.xs {
10
+ max-width: 44.4rem;
11
+ }
12
+ div.container.sm {
13
+ max-width: 60rem;
14
+ }
15
+ div.container.md {
16
+ max-width: 90rem;
17
+ }
18
+ div.container.lg {
19
+ max-width: 120rem;
20
+ }
21
+ div.container.xl {
22
+ max-width: 150rem;
23
+ }
@@ -0,0 +1,25 @@
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
+ }
10
+
11
+ function Container(props: ContainerProps) {
12
+ const joinedClassNames = joinClassNames(
13
+ props.maxWidth ? styles[props.maxWidth] : "",
14
+ styles.container,
15
+ props.className!
16
+ );
17
+
18
+ return (
19
+ <div {...props} className={joinedClassNames}>
20
+ {props.children}
21
+ </div>
22
+ );
23
+ }
24
+
25
+ export default Container;
@@ -0,0 +1,6 @@
1
+ .footer {
2
+ display: flex;
3
+ flex-direction: row;
4
+ width: 100%;
5
+ box-sizing: border-box;
6
+ }
@@ -0,0 +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;
@@ -0,0 +1,6 @@
1
+ .form {
2
+ display: flex;
3
+ flex-direction: column;
4
+ gap: 1.5rem;
5
+ width: 100%;
6
+ }
package/form/form.tsx ADDED
@@ -0,0 +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;
@@ -0,0 +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
+ }
@@ -0,0 +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;
@@ -0,0 +1,192 @@
1
+ .xl1 {
2
+ grid-column: span 1;
3
+ }
4
+ .xl2 {
5
+ grid-column: span 2;
6
+ }
7
+ .xl3 {
8
+ grid-column: span 3;
9
+ }
10
+ .xl4 {
11
+ grid-column: span 4;
12
+ }
13
+ .xl5 {
14
+ grid-column: span 5;
15
+ }
16
+ .xl6 {
17
+ grid-column: span 6;
18
+ }
19
+ .xl7 {
20
+ grid-column: span 7;
21
+ }
22
+ .xl8 {
23
+ grid-column: span 8;
24
+ }
25
+ .xl9 {
26
+ grid-column: span 9;
27
+ }
28
+ .xl10 {
29
+ grid-column: span 10;
30
+ }
31
+ .xl11 {
32
+ grid-column: span 11;
33
+ }
34
+ .xl12 {
35
+ grid-column: span 12;
36
+ }
37
+
38
+ @media screen and (max-width: 1200px) {
39
+ .lg1 {
40
+ grid-column: span 1;
41
+ }
42
+ .lg2 {
43
+ grid-column: span 2;
44
+ }
45
+ .lg3 {
46
+ grid-column: span 3;
47
+ }
48
+ .lg4 {
49
+ grid-column: span 4;
50
+ }
51
+ .lg5 {
52
+ grid-column: span 5;
53
+ }
54
+ .lg6 {
55
+ grid-column: span 6;
56
+ }
57
+ .lg7 {
58
+ grid-column: span 7;
59
+ }
60
+ .lg8 {
61
+ grid-column: span 8;
62
+ }
63
+ .lg9 {
64
+ grid-column: span 9;
65
+ }
66
+ .lg10 {
67
+ grid-column: span 10;
68
+ }
69
+ .lg11 {
70
+ grid-column: span 11;
71
+ }
72
+ .lg12 {
73
+ grid-column: span 12;
74
+ }
75
+ }
76
+
77
+ @media screen and (max-width: 900px) {
78
+ .md1 {
79
+ grid-column: span 1;
80
+ }
81
+ .md2 {
82
+ grid-column: span 2;
83
+ }
84
+ .md3 {
85
+ grid-column: span 3;
86
+ }
87
+ .md4 {
88
+ grid-column: span 4;
89
+ }
90
+ .md5 {
91
+ grid-column: span 5;
92
+ }
93
+ .md6 {
94
+ grid-column: span 6;
95
+ }
96
+ .md7 {
97
+ grid-column: span 7;
98
+ }
99
+ .md8 {
100
+ grid-column: span 8;
101
+ }
102
+ .md9 {
103
+ grid-column: span 9;
104
+ }
105
+ .md10 {
106
+ grid-column: span 10;
107
+ }
108
+ .md11 {
109
+ grid-column: span 11;
110
+ }
111
+ .md12 {
112
+ grid-column: span 12;
113
+ }
114
+ }
115
+
116
+ @media screen and (max-width: 600px) {
117
+ .sm1 {
118
+ grid-column: span 1;
119
+ }
120
+ .sm2 {
121
+ grid-column: span 2;
122
+ }
123
+ .sm3 {
124
+ grid-column: span 3;
125
+ }
126
+ .sm4 {
127
+ grid-column: span 4;
128
+ }
129
+ .sm5 {
130
+ grid-column: span 5;
131
+ }
132
+ .sm6 {
133
+ grid-column: span 6;
134
+ }
135
+ .sm7 {
136
+ grid-column: span 7;
137
+ }
138
+ .sm8 {
139
+ grid-column: span 8;
140
+ }
141
+ .sm9 {
142
+ grid-column: span 9;
143
+ }
144
+ .sm10 {
145
+ grid-column: span 10;
146
+ }
147
+ .sm11 {
148
+ grid-column: span 11;
149
+ }
150
+ .sm12 {
151
+ grid-column: span 12;
152
+ }
153
+ }
154
+
155
+ @media screen and (max-width: 444px) {
156
+ .xs1 {
157
+ grid-column: span 1;
158
+ }
159
+ .xs2 {
160
+ grid-column: span 2;
161
+ }
162
+ .xs3 {
163
+ grid-column: span 3;
164
+ }
165
+ .xs4 {
166
+ grid-column: span 4;
167
+ }
168
+ .xs5 {
169
+ grid-column: span 5;
170
+ }
171
+ .xs6 {
172
+ grid-column: span 6;
173
+ }
174
+ .xs7 {
175
+ grid-column: span 7;
176
+ }
177
+ .xs8 {
178
+ grid-column: span 8;
179
+ }
180
+ .xs9 {
181
+ grid-column: span 9;
182
+ }
183
+ .xs10 {
184
+ grid-column: span 10;
185
+ }
186
+ .xs11 {
187
+ grid-column: span 11;
188
+ }
189
+ .xs12 {
190
+ grid-column: span 12;
191
+ }
192
+ }
@@ -0,0 +1,31 @@
1
+ import React from "react";
2
+ import { joinClassNames, joinStyles } from "@yakad/lib";
3
+ import styles from "./gridItem.module.css";
4
+
5
+ interface GridItemProps extends React.HTMLAttributes<HTMLDivElement> {
6
+ xs?: number;
7
+ sm?: number;
8
+ md?: number;
9
+ lg?: number;
10
+ xl?: number;
11
+ }
12
+
13
+ // Custom Button Element
14
+ function GridItem(props: GridItemProps) {
15
+ const joinedClassNames = joinClassNames(
16
+ props.xl ? styles["xl" + props.xl] : "",
17
+ props.lg ? styles["lg" + props.lg] : "",
18
+ props.md ? styles["md" + props.md] : "",
19
+ props.md ? styles["sm" + props.md] : "",
20
+ props.md ? styles["xs" + props.md] : "",
21
+ props.className!
22
+ );
23
+
24
+ return (
25
+ <div {...props} className={joinedClassNames}>
26
+ {props.children}
27
+ </div>
28
+ );
29
+ }
30
+
31
+ export default GridItem;
@@ -0,0 +1,18 @@
1
+ .hr {
2
+ width: calc(100% - 1rem);
3
+ height: 0;
4
+ padding: 0;
5
+ margin: 0.5rem auto;
6
+ background: none;
7
+ border-top: 0.1rem solid var(--secondaryVariantColor);
8
+ }
9
+ .dotted {
10
+ border-top: 0.4rem dotted var(--secondaryVariantColor);
11
+ }
12
+ .dashed {
13
+ border-top: 0.2rem dashed var(--secondaryVariantColor);
14
+ }
15
+ .shortLine {
16
+ width: 30rem;
17
+ max-width: 80%;
18
+ }
package/hr/hr.tsx ADDED
@@ -0,0 +1,32 @@
1
+ import React from "react";
2
+ import { joinClassNames, joinStyles } from "@yakad/lib";
3
+ import styles from "./hr.module.css";
4
+
5
+ interface HrProps extends React.HTMLAttributes<HTMLElement> {
6
+ variant?: "dotted" | "dashed" | "shortLine";
7
+ height?: number;
8
+ marginTopBottom?: number;
9
+ }
10
+
11
+ function Hr(props: HrProps) {
12
+ const joinedClassNames = joinClassNames(
13
+ styles.hr,
14
+ props.variant ? styles[props.variant] : "",
15
+ props.className!
16
+ );
17
+
18
+ const joinedStyles = joinStyles(
19
+ props.height ? { borderTopWidth: props.height + "rem" } : {},
20
+ props.marginTopBottom
21
+ ? joinStyles(
22
+ { marginTop: props.marginTopBottom + "rem" },
23
+ { marginBottom: props.marginTopBottom + "rem" }
24
+ )
25
+ : {},
26
+ props.style!
27
+ );
28
+
29
+ return <hr {...props} className={joinedClassNames} style={joinedStyles}></hr>;
30
+ }
31
+
32
+ export default Hr;
package/index.tsx CHANGED
@@ -1,3 +1,39 @@
1
1
  import Button from "./button/button";
2
+ import AppBar from "./appBar/appBar";
3
+ import Card from "./card/card";
4
+ import Container from "./container/container";
5
+ import Footer from "./footer/footer";
6
+ import Form from "./form/form";
7
+ import GridContainer from "./gridContainer/gridContainer";
8
+ import GridItem from "./gridItem/gridItem";
9
+ import Hr from "./hr/hr";
10
+ import List from "./list/list";
11
+ import ListItem from "./listItem/listItem";
12
+ import Main from "./main/main";
13
+ import Navigation from "./navigation/navigation";
14
+ import Page from "./page/page";
15
+ import Row from "./row/row";
16
+ import Spacer from "./spacer/spacer";
17
+ import Stack from "./stack/stack";
18
+ import SvgIcon from "./svgIcon/svgIcon";
2
19
 
3
- export { Button };
20
+ export {
21
+ Button,
22
+ AppBar,
23
+ Card,
24
+ Container,
25
+ Footer,
26
+ Form,
27
+ GridContainer,
28
+ GridItem,
29
+ Hr,
30
+ List,
31
+ ListItem,
32
+ Main,
33
+ Navigation,
34
+ Page,
35
+ Row,
36
+ Stack,
37
+ Spacer,
38
+ SvgIcon,
39
+ };
@@ -0,0 +1,22 @@
1
+ .list {
2
+ display: flex;
3
+ list-style-type: none;
4
+ max-height: 100rem;
5
+ padding: 0;
6
+ transition: max-height 300ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;
7
+ }
8
+
9
+ .row {
10
+ flex-direction: row;
11
+ }
12
+ .column {
13
+ flex-direction: column;
14
+ align-items: stretch;
15
+ width: 100%;
16
+ box-sizing: border-box;
17
+ }
18
+
19
+ .collapsed {
20
+ max-height: 0;
21
+ overflow: hidden;
22
+ }
package/list/list.tsx ADDED
@@ -0,0 +1,25 @@
1
+ import React from "react";
2
+ import { joinClassNames } from "@yakad/lib";
3
+ import styles from "./list.module.css";
4
+
5
+ interface ListProps extends React.HTMLAttributes<HTMLUListElement> {
6
+ direction?: "row" | "column";
7
+ collapsed?: boolean;
8
+ }
9
+
10
+ function List(props: ListProps) {
11
+ const joinedClassNames = joinClassNames(
12
+ styles.list,
13
+ props.direction ? styles[props.direction] : styles.row,
14
+ props.collapsed ? styles.collapsed : "",
15
+ props.className!
16
+ );
17
+
18
+ return (
19
+ <ul {...props} className={joinedClassNames}>
20
+ {props.children}
21
+ </ul>
22
+ );
23
+ }
24
+
25
+ export default List;
@@ -0,0 +1,6 @@
1
+ .listItem {
2
+ display: flex;
3
+ flex-direction: column;
4
+ align-items: stretch;
5
+ box-sizing: border-box;
6
+ }
@@ -0,0 +1,12 @@
1
+ import React from "react";
2
+ import styles from "./listItem.module.css";
3
+
4
+ function ListItem(props: React.HTMLAttributes<HTMLLIElement>) {
5
+ return (
6
+ <li className={styles.listItem} {...props}>
7
+ {props.children}
8
+ </li>
9
+ );
10
+ }
11
+
12
+ export default ListItem;
@@ -0,0 +1,19 @@
1
+ .main {
2
+ display: flex;
3
+ flex-direction: column;
4
+ justify-content: center;
5
+ align-self: flex-end;
6
+ box-sizing: border-box;
7
+ width: 100%;
8
+ transition: width 0.3s;
9
+ }
10
+
11
+ .navOpen {
12
+ width: calc(100% - 22rem);
13
+ }
14
+
15
+ @media screen and (max-width: 1000px) {
16
+ .navOpen {
17
+ width: 100%;
18
+ }
19
+ }
package/main/main.tsx ADDED
@@ -0,0 +1,25 @@
1
+ import React from "react";
2
+ import { joinClassNames, joinStyles } from "@yakad/lib";
3
+ import styles from "./main.module.css";
4
+
5
+ interface MainProps extends React.HTMLAttributes<HTMLDivElement> {
6
+ navOpen?: boolean;
7
+ }
8
+
9
+ function Main(props: MainProps) {
10
+ const navOpenClass = props.navOpen ? styles.navOpen : "";
11
+
12
+ const joinedClassNames = joinClassNames(
13
+ styles.main,
14
+ navOpenClass,
15
+ props.className!
16
+ );
17
+
18
+ return (
19
+ <main {...props} className={joinedClassNames}>
20
+ {props.children}
21
+ </main>
22
+ );
23
+ }
24
+
25
+ export default Main;
@@ -0,0 +1,56 @@
1
+ .navigation {
2
+ position: fixed;
3
+ max-width: 100%;
4
+ transition: transform 0.3s;
5
+ background: var(--backgroundColor);
6
+ overflow-y: auto;
7
+ }
8
+
9
+ .auto,
10
+ .left {
11
+ top: 5.1rem;
12
+ left: 0;
13
+ width: 21.9rem;
14
+ height: calc(100% - 5.1rem);
15
+ max-height: 100%;
16
+ border-inline-end: 0.2rem solid #7d7d7d40;
17
+ transform: translate(-100%, 0);
18
+ }
19
+ [dir="rtl"] .auto,
20
+ .right {
21
+ right: 0;
22
+ top: 5.1rem;
23
+ width: 21.9rem;
24
+ height: calc(100% - 5.1rem);
25
+ max-height: 100%;
26
+ border-inline-end: 0.2rem solid #7d7d7d40;
27
+ transform: translate(100%, 0);
28
+ }
29
+
30
+ .top {
31
+ top: 0;
32
+ width: 100%;
33
+ height: auto;
34
+ border-bottom: 0.2rem solid #7d7d7d40;
35
+ transform: translate(0, -100%);
36
+ }
37
+ .bottom {
38
+ bottom: 0;
39
+ width: 100%;
40
+ height: auto;
41
+ border-top: 0.2rem solid #7d7d7d40;
42
+ transform: translate(0, 100%);
43
+ }
44
+
45
+ .open {
46
+ transform: translate(0, 0);
47
+ }
48
+
49
+ @media screen and (max-width: 1000px) {
50
+ .auto,
51
+ .left,
52
+ .right {
53
+ top: 0;
54
+ height: 100%;
55
+ }
56
+ }
@@ -0,0 +1,24 @@
1
+ import React from "react";
2
+ import { joinClassNames } from "@yakad/lib";
3
+ import styles from "./navigation.module.css";
4
+
5
+ interface NavigationProps extends React.HTMLAttributes<HTMLElement> {
6
+ anchor?: "left" | "right" | "top" | "bottom" | "auto";
7
+ open: boolean;
8
+ }
9
+
10
+ function Navigation(props: NavigationProps) {
11
+ const joinedClassNames = joinClassNames(
12
+ styles.navigation,
13
+ props.anchor ? styles[props.anchor] : styles.auto,
14
+ props.open ? styles.open : ""
15
+ );
16
+
17
+ return (
18
+ <nav {...props} className={joinedClassNames}>
19
+ {props.children}
20
+ </nav>
21
+ );
22
+ }
23
+
24
+ export default Navigation;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yakad/ui",
3
- "version": "1.1.6",
3
+ "version": "1.2.1",
4
4
  "description": "",
5
5
  "main": "./src/index.js",
6
6
  "scripts": {
@@ -0,0 +1,9 @@
1
+ .page {
2
+ display: flex;
3
+ flex-direction: column;
4
+ box-sizing: border-box;
5
+ width: 100%;
6
+ background: var(--backgroundColor);
7
+ color: var(--onBackgroundColor);
8
+ fill: var(--onBackgroundColor);
9
+ }
package/page/page.tsx ADDED
@@ -0,0 +1,15 @@
1
+ import React from "react";
2
+ import { joinClassNames, joinStyles } from "@yakad/lib";
3
+ import styles from "./page.module.css";
4
+
5
+ function Page(props: React.HTMLAttributes<HTMLDivElement>) {
6
+ const joinedClassNames = joinClassNames(styles.page, props.className!);
7
+
8
+ return (
9
+ <div {...props} className={joinedClassNames}>
10
+ {props.children}
11
+ </div>
12
+ );
13
+ }
14
+
15
+ export default Page;
@@ -0,0 +1,7 @@
1
+ .row {
2
+ display: flex;
3
+ flex-direction: row;
4
+ align-items: center;
5
+ gap: 1.5rem;
6
+ box-sizing: border-box;
7
+ }
package/row/row.tsx ADDED
@@ -0,0 +1,15 @@
1
+ import React from "react";
2
+ import { joinClassNames, joinStyles } from "@yakad/lib";
3
+ import styles from "./row.module.css";
4
+
5
+ function Row(props: React.HTMLAttributes<HTMLDivElement>) {
6
+ const joinedClassNames = joinClassNames(styles.row, props.className!);
7
+
8
+ return (
9
+ <div {...props} className={joinedClassNames}>
10
+ {props.children}
11
+ </div>
12
+ );
13
+ }
14
+
15
+ export default Row;
@@ -0,0 +1,5 @@
1
+ .spacer {
2
+ width: 0;
3
+ height: 100%;
4
+ margin: auto;
5
+ }
@@ -0,0 +1,8 @@
1
+ import React from "react";
2
+ import styles from "./spacer.module.css";
3
+
4
+ function Spacer() {
5
+ return <div className={styles.spacer}></div>;
6
+ }
7
+
8
+ export default Spacer;
@@ -0,0 +1,6 @@
1
+ .stack {
2
+ display: flex;
3
+ flex-direction: column;
4
+ gap: 1.5rem;
5
+ box-sizing: border-box;
6
+ }
@@ -0,0 +1,15 @@
1
+ import React from "react";
2
+ import { joinClassNames, joinStyles } from "@yakad/lib";
3
+ import styles from "./stack.module.css";
4
+
5
+ function Stack(props: React.HTMLAttributes<HTMLDivElement>) {
6
+ const joinedClassNames = joinClassNames(styles.stack, props.className!);
7
+
8
+ return (
9
+ <div {...props} className={joinedClassNames}>
10
+ {props.children}
11
+ </div>
12
+ );
13
+ }
14
+
15
+ export default Stack;