@yakad/ui 1.2.75-beta → 1.2.77-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.d.ts +3 -3
- package/appBar/appBar.js +8 -8
- package/appBar/appBar.module.css +15 -15
- package/appBar/appBar.tsx +15 -15
- package/button/button.d.ts +13 -13
- package/button/button.js +27 -27
- package/button/button.module.css +170 -170
- package/button/button.tsx +87 -87
- package/card/card.d.ts +3 -3
- package/card/card.js +8 -8
- package/card/card.module.css +11 -11
- package/card/card.tsx +15 -15
- package/clickAwayListener/clickAwayListener.d.ts +6 -6
- package/clickAwayListener/clickAwayListener.js +16 -16
- package/clickAwayListener/clickAwayListener.tsx +27 -27
- package/codeField/codeField.d.ts +8 -8
- package/codeField/codeField.js +9 -9
- package/codeField/codeField.module.css +23 -23
- package/codeField/codeField.tsx +32 -32
- package/container/container.d.ts +8 -8
- package/container/container.js +8 -8
- package/container/container.module.css +24 -24
- package/container/container.tsx +27 -27
- package/declarations.d.ts +1 -1
- package/footer/footer.d.ts +3 -3
- package/footer/footer.js +8 -8
- package/footer/footer.module.css +9 -9
- package/footer/footer.tsx +15 -15
- package/form/form.d.ts +3 -3
- package/form/form.js +11 -11
- package/form/form.module.css +6 -6
- package/form/form.tsx +23 -23
- package/gridContainer/gridContainer.d.ts +7 -7
- package/gridContainer/gridContainer.js +10 -10
- package/gridContainer/gridContainer.module.css +6 -5
- package/gridContainer/gridContainer.tsx +28 -28
- package/gridItem/gridItem.d.ts +10 -10
- package/gridItem/gridItem.js +9 -9
- package/gridItem/gridItem.module.css +192 -192
- package/gridItem/gridItem.tsx +31 -31
- package/hr/hr.d.ts +8 -8
- package/hr/hr.js +11 -11
- package/hr/hr.module.css +19 -19
- package/hr/hr.tsx +32 -32
- package/index.d.ts +24 -24
- package/index.js +24 -24
- package/index.tsx +48 -48
- package/inputField/inputField.d.ts +12 -12
- package/inputField/inputField.js +10 -10
- package/inputField/inputField.module.css +167 -167
- package/inputField/inputField.tsx +38 -38
- package/list/list.d.ts +7 -7
- package/list/list.js +8 -8
- package/list/list.module.css +22 -22
- package/list/list.tsx +25 -25
- package/listItem/listItem.d.ts +3 -3
- package/listItem/listItem.js +6 -6
- package/listItem/listItem.module.css +6 -6
- package/listItem/listItem.tsx +12 -12
- package/loading/loading.d.ts +7 -7
- package/loading/loading.js +9 -9
- package/loading/loading.module.css +91 -91
- package/loading/loading.tsx +25 -25
- package/main/main.d.ts +6 -6
- package/main/main.js +9 -9
- package/main/main.module.css +19 -19
- package/main/main.tsx +25 -25
- package/navigation/navigation.d.ts +7 -7
- package/navigation/navigation.js +8 -8
- package/navigation/navigation.module.css +61 -61
- package/navigation/navigation.tsx +24 -24
- package/package.json +31 -31
- package/page/page.d.ts +3 -3
- package/page/page.js +8 -8
- package/page/page.module.css +10 -10
- package/page/page.tsx +15 -15
- package/row/row.d.ts +3 -3
- package/row/row.js +8 -8
- package/row/row.module.css +7 -7
- package/row/row.tsx +15 -15
- package/spacer/spacer.d.ts +3 -3
- package/spacer/spacer.js +6 -6
- package/spacer/spacer.module.css +5 -5
- package/spacer/spacer.tsx +8 -8
- package/stack/stack.d.ts +3 -3
- package/stack/stack.js +8 -8
- package/stack/stack.module.css +6 -6
- package/stack/stack.tsx +15 -15
- package/svgIcon/svgIcon.d.ts +6 -6
- package/svgIcon/svgIcon.js +11 -11
- package/svgIcon/svgIcon.module.css +5 -5
- package/svgIcon/svgIcon.tsx +26 -26
- package/theme/theme.d.ts +9 -9
- package/theme/theme.js +11 -11
- 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/footer/footer.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
declare function Footer(props: React.HTMLAttributes<HTMLElement>): JSX.Element;
|
|
3
|
-
export default Footer;
|
|
1
|
+
import React from "react";
|
|
2
|
+
declare function Footer(props: React.HTMLAttributes<HTMLElement>): JSX.Element;
|
|
3
|
+
export default Footer;
|
package/footer/footer.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import { joinClassNames } from "@yakad/lib";
|
|
3
|
-
import styles from "./footer.module.css";
|
|
4
|
-
function Footer(props) {
|
|
5
|
-
const joinedClassNames = joinClassNames(styles.footer, props.className);
|
|
6
|
-
return (React.createElement("footer", { ...props, className: joinedClassNames }, props.children));
|
|
7
|
-
}
|
|
8
|
-
export default Footer;
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { joinClassNames } from "@yakad/lib";
|
|
3
|
+
import styles from "./footer.module.css";
|
|
4
|
+
function Footer(props) {
|
|
5
|
+
const joinedClassNames = joinClassNames(styles.footer, props.className);
|
|
6
|
+
return (React.createElement("footer", { ...props, className: joinedClassNames }, props.children));
|
|
7
|
+
}
|
|
8
|
+
export default Footer;
|
|
9
9
|
//# sourceMappingURL=footer.js.map
|
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.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
declare function Form(props: React.HTMLAttributes<HTMLFormElement>): JSX.Element;
|
|
3
|
-
export default Form;
|
|
1
|
+
import React from "react";
|
|
2
|
+
declare function Form(props: React.HTMLAttributes<HTMLFormElement>): JSX.Element;
|
|
3
|
+
export default Form;
|
package/form/form.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import { joinClassNames } from "@yakad/lib";
|
|
3
|
-
import styles from "./form.module.css";
|
|
4
|
-
function Form(props) {
|
|
5
|
-
const joinedClassNames = joinClassNames(styles.form, props.className);
|
|
6
|
-
return (React.createElement("form", { ...props, className: joinedClassNames, onSubmit: (e) => {
|
|
7
|
-
e.preventDefault();
|
|
8
|
-
props.onSubmit(null);
|
|
9
|
-
} }, props.children));
|
|
10
|
-
}
|
|
11
|
-
export default Form;
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { joinClassNames } from "@yakad/lib";
|
|
3
|
+
import styles from "./form.module.css";
|
|
4
|
+
function Form(props) {
|
|
5
|
+
const joinedClassNames = joinClassNames(styles.form, props.className);
|
|
6
|
+
return (React.createElement("form", { ...props, className: joinedClassNames, onSubmit: (e) => {
|
|
7
|
+
e.preventDefault();
|
|
8
|
+
props.onSubmit(null);
|
|
9
|
+
} }, props.children));
|
|
10
|
+
}
|
|
11
|
+
export default Form;
|
|
12
12
|
//# sourceMappingURL=form.js.map
|
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,7 +1,7 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
interface GridContainerProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
3
|
-
rowGap?: number;
|
|
4
|
-
columnGap?: number;
|
|
5
|
-
}
|
|
6
|
-
declare function GridContainer(props: GridContainerProps): JSX.Element;
|
|
7
|
-
export default GridContainer;
|
|
1
|
+
import React from "react";
|
|
2
|
+
interface GridContainerProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
3
|
+
rowGap?: number;
|
|
4
|
+
columnGap?: number;
|
|
5
|
+
}
|
|
6
|
+
declare function GridContainer(props: GridContainerProps): JSX.Element;
|
|
7
|
+
export default GridContainer;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import { joinClassNames, joinStyles } from "@yakad/lib";
|
|
3
|
-
import styles from "./gridContainer.module.css";
|
|
4
|
-
// Custom Button Element
|
|
5
|
-
function GridContainer(props) {
|
|
6
|
-
const joinedClassNames = joinClassNames(styles.gridcontainer, props.className);
|
|
7
|
-
const joinedStyles = joinStyles({ columnGap: props.columnGap ? props.columnGap + "rem" : "1.5rem" }, { rowGap: props.rowGap ? props.rowGap + "rem" : "1.5rem" }, props.style);
|
|
8
|
-
return (React.createElement("div", { ...props, className: joinedClassNames, style: joinedStyles }, props.children));
|
|
9
|
-
}
|
|
10
|
-
export default GridContainer;
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { joinClassNames, joinStyles } from "@yakad/lib";
|
|
3
|
+
import styles from "./gridContainer.module.css";
|
|
4
|
+
// Custom Button Element
|
|
5
|
+
function GridContainer(props) {
|
|
6
|
+
const joinedClassNames = joinClassNames(styles.gridcontainer, props.className);
|
|
7
|
+
const joinedStyles = joinStyles({ columnGap: props.columnGap ? props.columnGap + "rem" : "1.5rem" }, { rowGap: props.rowGap ? props.rowGap + "rem" : "1.5rem" }, props.style);
|
|
8
|
+
return (React.createElement("div", { ...props, className: joinedClassNames, style: joinedStyles }, props.children));
|
|
9
|
+
}
|
|
10
|
+
export default GridContainer;
|
|
11
11
|
//# sourceMappingURL=gridContainer.js.map
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
.gridcontainer {
|
|
2
|
-
display: grid;
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
.gridcontainer {
|
|
2
|
+
display: grid;
|
|
3
|
+
width: 100%;
|
|
4
|
+
box-sizing: border-box;
|
|
5
|
+
grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr;
|
|
6
|
+
}
|
|
@@ -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;
|
package/gridItem/gridItem.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
interface GridItemProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
3
|
-
xs?: number;
|
|
4
|
-
sm?: number;
|
|
5
|
-
md?: number;
|
|
6
|
-
lg?: number;
|
|
7
|
-
xl?: number;
|
|
8
|
-
}
|
|
9
|
-
declare function GridItem(props: GridItemProps): JSX.Element;
|
|
10
|
-
export default GridItem;
|
|
1
|
+
import React from "react";
|
|
2
|
+
interface GridItemProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
3
|
+
xs?: number;
|
|
4
|
+
sm?: number;
|
|
5
|
+
md?: number;
|
|
6
|
+
lg?: number;
|
|
7
|
+
xl?: number;
|
|
8
|
+
}
|
|
9
|
+
declare function GridItem(props: GridItemProps): JSX.Element;
|
|
10
|
+
export default GridItem;
|
package/gridItem/gridItem.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import { joinClassNames } from "@yakad/lib";
|
|
3
|
-
import styles from "./gridItem.module.css";
|
|
4
|
-
// Custom Button Element
|
|
5
|
-
function GridItem(props) {
|
|
6
|
-
const joinedClassNames = joinClassNames(props.xl ? styles["xl" + props.xl] : "", props.lg ? styles["lg" + props.lg] : "", props.md ? styles["md" + props.md] : "", props.sm ? styles["sm" + props.sm] : "", props.xs ? styles["xs" + props.xs] : "", props.className);
|
|
7
|
-
return (React.createElement("div", { ...props, className: joinedClassNames }, props.children));
|
|
8
|
-
}
|
|
9
|
-
export default GridItem;
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { joinClassNames } from "@yakad/lib";
|
|
3
|
+
import styles from "./gridItem.module.css";
|
|
4
|
+
// Custom Button Element
|
|
5
|
+
function GridItem(props) {
|
|
6
|
+
const joinedClassNames = joinClassNames(props.xl ? styles["xl" + props.xl] : "", props.lg ? styles["lg" + props.lg] : "", props.md ? styles["md" + props.md] : "", props.sm ? styles["sm" + props.sm] : "", props.xs ? styles["xs" + props.xs] : "", props.className);
|
|
7
|
+
return (React.createElement("div", { ...props, className: joinedClassNames }, props.children));
|
|
8
|
+
}
|
|
9
|
+
export default GridItem;
|
|
10
10
|
//# sourceMappingURL=gridItem.js.map
|