@yakad/ui 1.1.3 → 1.1.5
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/package.json +2 -2
- package/appBar/appBar.d.ts +0 -3
- package/appBar/appBar.js +0 -9
- package/appBar/appBar.js.map +0 -1
- package/appBar/appBar.module.css +0 -14
- package/appBar/appBar.tsx +0 -15
- package/button/button.d.ts +0 -9
- package/button/button.js +0 -19
- 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/card/card.module.css +0 -12
- package/card/card.tsx +0 -15
- package/clickAwayListener/clickAwayListener.d.ts +0 -6
- package/clickAwayListener/clickAwayListener.js +0 -17
- package/clickAwayListener/clickAwayListener.js.map +0 -1
- package/clickAwayListener/clickAwayListener.tsx +0 -27
- package/container/container.d.ts +0 -7
- package/container/container.js +0 -9
- package/container/container.js.map +0 -1
- package/container/container.module.css +0 -23
- package/container/container.tsx +0 -25
- package/footer/footer.d.ts +0 -3
- package/footer/footer.js +0 -9
- package/footer/footer.js.map +0 -1
- package/footer/footer.module.css +0 -6
- package/footer/footer.tsx +0 -15
- package/form/form.d.ts +0 -3
- package/form/form.js +0 -12
- package/form/form.js.map +0 -1
- package/form/form.module.css +0 -6
- package/form/form.tsx +0 -23
- package/gridContainer/gridContainer.d.ts +0 -7
- package/gridContainer/gridContainer.js +0 -11
- package/gridContainer/gridContainer.js.map +0 -1
- package/gridContainer/gridContainer.module.css +0 -5
- package/gridContainer/gridContainer.tsx +0 -28
- package/gridItem/gridItem.d.ts +0 -10
- package/gridItem/gridItem.js +0 -10
- package/gridItem/gridItem.js.map +0 -1
- package/gridItem/gridItem.module.css +0 -192
- package/gridItem/gridItem.tsx +0 -31
- package/historyBack/historyBack.d.ts +0 -3
- package/historyBack/historyBack.js +0 -11
- package/historyBack/historyBack.js.map +0 -1
- package/historyBack/historyBack.tsx +0 -20
- package/hr/hr.d.ts +0 -8
- package/hr/hr.js +0 -12
- package/hr/hr.js.map +0 -1
- package/hr/hr.module.css +0 -18
- package/hr/hr.tsx +0 -32
- package/index.d.ts +0 -21
- package/index.js +0 -22
- package/index.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/list/list.module.css +0 -22
- package/list/list.tsx +0 -25
- package/listItem/listItem.d.ts +0 -3
- package/listItem/listItem.js +0 -7
- package/listItem/listItem.js.map +0 -1
- package/listItem/listItem.module.css +0 -6
- package/listItem/listItem.tsx +0 -12
- package/main/main.d.ts +0 -6
- package/main/main.js +0 -10
- package/main/main.js.map +0 -1
- package/main/main.module.css +0 -19
- package/main/main.tsx +0 -25
- package/navigation/navigation.d.ts +0 -7
- package/navigation/navigation.js +0 -9
- package/navigation/navigation.js.map +0 -1
- package/navigation/navigation.module.css +0 -56
- package/navigation/navigation.tsx +0 -24
- package/page/page.d.ts +0 -3
- package/page/page.js +0 -9
- package/page/page.js.map +0 -1
- package/page/page.module.css +0 -9
- package/page/page.tsx +0 -15
- package/row/row.d.ts +0 -3
- package/row/row.js +0 -9
- package/row/row.js.map +0 -1
- package/row/row.module.css +0 -7
- package/row/row.tsx +0 -15
- package/spacer/spacer.d.ts +0 -3
- package/spacer/spacer.js +0 -7
- package/spacer/spacer.js.map +0 -1
- package/spacer/spacer.module.css +0 -5
- package/spacer/spacer.tsx +0 -8
- package/stack/stack.d.ts +0 -3
- package/stack/stack.js +0 -9
- package/stack/stack.js.map +0 -1
- package/stack/stack.module.css +0 -6
- package/stack/stack.tsx +0 -15
- package/svgIcon/svgIcon.d.ts +0 -6
- package/svgIcon/svgIcon.js +0 -12
- package/svgIcon/svgIcon.js.map +0 -1
|
@@ -1,192 +0,0 @@
|
|
|
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
|
-
}
|
package/gridItem/gridItem.tsx
DELETED
|
@@ -1,31 +0,0 @@
|
|
|
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;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import { useNavigate } from "react-router-dom";
|
|
3
|
-
function HistoryBack(props) {
|
|
4
|
-
const navigate = useNavigate();
|
|
5
|
-
return (React.createElement("div", { ...props, onClick: () => {
|
|
6
|
-
navigate(-1);
|
|
7
|
-
props.onClick(null);
|
|
8
|
-
} }, props.children));
|
|
9
|
-
}
|
|
10
|
-
export default HistoryBack;
|
|
11
|
-
//# sourceMappingURL=historyBack.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"historyBack.js","sourceRoot":"","sources":["historyBack.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAE/C,SAAS,WAAW,CAAC,KAA2C;IAC5D,MAAM,QAAQ,GAAG,WAAW,EAAE,CAAC;IAE/B,OAAO,CACH,gCACQ,KAAK,EACT,OAAO,EAAE,GAAG,EAAE;YACV,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC;YACb,KAAK,CAAC,OAAQ,CAAC,IAAW,CAAC,CAAC;QAChC,CAAC,IAEA,KAAK,CAAC,QAAQ,CACb,CACT,CAAC;AACN,CAAC;AAED,eAAe,WAAW,CAAC"}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import { useNavigate } from "react-router-dom";
|
|
3
|
-
|
|
4
|
-
function HistoryBack(props: React.HTMLAttributes<HTMLDivElement>) {
|
|
5
|
-
const navigate = useNavigate();
|
|
6
|
-
|
|
7
|
-
return (
|
|
8
|
-
<div
|
|
9
|
-
{...props}
|
|
10
|
-
onClick={() => {
|
|
11
|
-
navigate(-1);
|
|
12
|
-
props.onClick!(null as any);
|
|
13
|
-
}}
|
|
14
|
-
>
|
|
15
|
-
{props.children}
|
|
16
|
-
</div>
|
|
17
|
-
);
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
export default HistoryBack;
|
package/hr/hr.d.ts
DELETED
package/hr/hr.js
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import { joinClassNames, joinStyles } from "@yakad/lib";
|
|
3
|
-
import styles from "./hr.module.css";
|
|
4
|
-
function Hr(props) {
|
|
5
|
-
const joinedClassNames = joinClassNames(styles.hr, props.variant ? styles[props.variant] : "", props.className);
|
|
6
|
-
const joinedStyles = joinStyles(props.height ? { borderTopWidth: props.height + "rem" } : {}, props.marginTopBottom
|
|
7
|
-
? joinStyles({ marginTop: props.marginTopBottom + "rem" }, { marginBottom: props.marginTopBottom + "rem" })
|
|
8
|
-
: {}, props.style);
|
|
9
|
-
return React.createElement("hr", { ...props, className: joinedClassNames, style: joinedStyles });
|
|
10
|
-
}
|
|
11
|
-
export default Hr;
|
|
12
|
-
//# sourceMappingURL=hr.js.map
|
package/hr/hr.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"hr.js","sourceRoot":"","sources":["hr.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AACxD,OAAO,MAAM,MAAM,iBAAiB,CAAC;AAQrC,SAAS,EAAE,CAAC,KAAc;IACxB,MAAM,gBAAgB,GAAG,cAAc,CACrC,MAAM,CAAC,EAAE,EACT,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,EAAE,EAC1C,KAAK,CAAC,SAAU,CACjB,CAAC;IAEF,MAAM,YAAY,GAAG,UAAU,CAC7B,KAAK,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,cAAc,EAAE,KAAK,CAAC,MAAM,GAAG,KAAK,EAAE,CAAC,CAAC,CAAC,EAAE,EAC5D,KAAK,CAAC,eAAe;QACnB,CAAC,CAAC,UAAU,CACR,EAAE,SAAS,EAAE,KAAK,CAAC,eAAe,GAAG,KAAK,EAAE,EAC5C,EAAE,YAAY,EAAE,KAAK,CAAC,eAAe,GAAG,KAAK,EAAE,CAChD;QACH,CAAC,CAAC,EAAE,EACN,KAAK,CAAC,KAAM,CACb,CAAC;IAEF,OAAO,+BAAQ,KAAK,EAAE,SAAS,EAAE,gBAAgB,EAAE,KAAK,EAAE,YAAY,GAAO,CAAC;AAChF,CAAC;AAED,eAAe,EAAE,CAAC"}
|
package/hr/hr.module.css
DELETED
|
@@ -1,18 +0,0 @@
|
|
|
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
DELETED
|
@@ -1,32 +0,0 @@
|
|
|
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.d.ts
DELETED
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import AppBar from "./appBar/appBar";
|
|
2
|
-
import Button from "./button/button";
|
|
3
|
-
import Container from "./container/container";
|
|
4
|
-
import GridContainer from "./gridContainer/gridContainer";
|
|
5
|
-
import GridItem from "./gridItem/gridItem";
|
|
6
|
-
import Stack from "./stack/stack";
|
|
7
|
-
import Navigation from "./navigation/navigation";
|
|
8
|
-
import ClickAwayListener from "./clickAwayListener/clickAwayListener";
|
|
9
|
-
import List from "./list/list";
|
|
10
|
-
import ListItem from "./listItem/listItem";
|
|
11
|
-
import Main from "./main/main";
|
|
12
|
-
import Page from "./page/page";
|
|
13
|
-
import Spacer from "./spacer/spacer";
|
|
14
|
-
import Hr from "./hr/hr";
|
|
15
|
-
import Form from "./form/form";
|
|
16
|
-
import SvgIcon from "./svgIcon/svgIcon";
|
|
17
|
-
import HistoryBack from "./historyBack/historyBack";
|
|
18
|
-
import Row from "./row/row";
|
|
19
|
-
import Footer from "./footer/footer";
|
|
20
|
-
import Card from "./card/card";
|
|
21
|
-
export { Container, GridContainer, GridItem, Stack, Navigation, ClickAwayListener, AppBar, Button, List, ListItem, Main, Page, Spacer, Hr, Form, SvgIcon, HistoryBack, Row, Footer, Card, };
|
package/index.js
DELETED
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import AppBar from "./appBar/appBar";
|
|
2
|
-
import Button from "./button/button";
|
|
3
|
-
import Container from "./container/container";
|
|
4
|
-
import GridContainer from "./gridContainer/gridContainer";
|
|
5
|
-
import GridItem from "./gridItem/gridItem";
|
|
6
|
-
import Stack from "./stack/stack";
|
|
7
|
-
import Navigation from "./navigation/navigation";
|
|
8
|
-
import ClickAwayListener from "./clickAwayListener/clickAwayListener";
|
|
9
|
-
import List from "./list/list";
|
|
10
|
-
import ListItem from "./listItem/listItem";
|
|
11
|
-
import Main from "./main/main";
|
|
12
|
-
import Page from "./page/page";
|
|
13
|
-
import Spacer from "./spacer/spacer";
|
|
14
|
-
import Hr from "./hr/hr";
|
|
15
|
-
import Form from "./form/form";
|
|
16
|
-
import SvgIcon from "./svgIcon/svgIcon";
|
|
17
|
-
import HistoryBack from "./historyBack/historyBack";
|
|
18
|
-
import Row from "./row/row";
|
|
19
|
-
import Footer from "./footer/footer";
|
|
20
|
-
import Card from "./card/card";
|
|
21
|
-
export { Container, GridContainer, GridItem, Stack, Navigation, ClickAwayListener, AppBar, Button, List, ListItem, Main, Page, Spacer, Hr, Form, SvgIcon, HistoryBack, Row, Footer, Card, };
|
|
22
|
-
//# sourceMappingURL=index.js.map
|
package/index.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["index.tsx"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,iBAAiB,CAAC;AACrC,OAAO,MAAM,MAAM,iBAAiB,CAAC;AACrC,OAAO,SAAS,MAAM,uBAAuB,CAAC;AAC9C,OAAO,aAAa,MAAM,+BAA+B,CAAC;AAC1D,OAAO,QAAQ,MAAM,qBAAqB,CAAC;AAC3C,OAAO,KAAK,MAAM,eAAe,CAAC;AAClC,OAAO,UAAU,MAAM,yBAAyB,CAAC;AACjD,OAAO,iBAAiB,MAAM,uCAAuC,CAAC;AACtE,OAAO,IAAI,MAAM,aAAa,CAAC;AAC/B,OAAO,QAAQ,MAAM,qBAAqB,CAAC;AAC3C,OAAO,IAAI,MAAM,aAAa,CAAC;AAC/B,OAAO,IAAI,MAAM,aAAa,CAAC;AAC/B,OAAO,MAAM,MAAM,iBAAiB,CAAC;AACrC,OAAO,EAAE,MAAM,SAAS,CAAC;AACzB,OAAO,IAAI,MAAM,aAAa,CAAC;AAC/B,OAAO,OAAO,MAAM,mBAAmB,CAAC;AACxC,OAAO,WAAW,MAAM,2BAA2B,CAAC;AACpD,OAAO,GAAG,MAAM,WAAW,CAAC;AAC5B,OAAO,MAAM,MAAM,iBAAiB,CAAC;AACrC,OAAO,IAAI,MAAM,aAAa,CAAC;AAE/B,OAAO,EACH,SAAS,EACT,aAAa,EACb,QAAQ,EACR,KAAK,EACL,UAAU,EACV,iBAAiB,EACjB,MAAM,EACN,MAAM,EACN,IAAI,EACJ,QAAQ,EACR,IAAI,EACJ,IAAI,EACJ,MAAM,EACN,EAAE,EACF,IAAI,EACJ,OAAO,EACP,WAAW,EACX,GAAG,EACH,MAAM,EACN,IAAI,GACP,CAAC"}
|
package/list/list.d.ts
DELETED
package/list/list.js
DELETED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import { joinClassNames } from "@yakad/lib";
|
|
3
|
-
import styles from "./list.module.css";
|
|
4
|
-
function List(props) {
|
|
5
|
-
const joinedClassNames = joinClassNames(styles.list, props.direction ? styles[props.direction] : styles.row, props.collapsed ? styles.collapsed : "", props.className);
|
|
6
|
-
return (React.createElement("ul", { ...props, className: joinedClassNames }, props.children));
|
|
7
|
-
}
|
|
8
|
-
export default List;
|
|
9
|
-
//# sourceMappingURL=list.js.map
|
package/list/list.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"list.js","sourceRoot":"","sources":["list.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,cAAc,EAAE,MAAM,YAAY,CAAC;AAC5C,OAAO,MAAM,MAAM,mBAAmB,CAAC;AAOvC,SAAS,IAAI,CAAC,KAAgB;IAC5B,MAAM,gBAAgB,GAAG,cAAc,CACrC,MAAM,CAAC,IAAI,EACX,KAAK,CAAC,SAAS,CAAC,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,GAAG,EACtD,KAAK,CAAC,SAAS,CAAC,CAAC,CAAC,MAAM,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EACvC,KAAK,CAAC,SAAU,CACjB,CAAC;IAEF,OAAO,CACL,+BAAQ,KAAK,EAAE,SAAS,EAAE,gBAAgB,IACvC,KAAK,CAAC,QAAQ,CACZ,CACN,CAAC;AACJ,CAAC;AAED,eAAe,IAAI,CAAC"}
|
package/list/list.module.css
DELETED
|
@@ -1,22 +0,0 @@
|
|
|
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
DELETED
|
@@ -1,25 +0,0 @@
|
|
|
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;
|
package/listItem/listItem.d.ts
DELETED
package/listItem/listItem.js
DELETED
package/listItem/listItem.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"listItem.js","sourceRoot":"","sources":["listItem.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,MAAM,MAAM,uBAAuB,CAAC;AAE3C,SAAS,QAAQ,CAAC,KAA0C;IAC1D,OAAO,CACL,4BAAI,SAAS,EAAE,MAAM,CAAC,QAAQ,KAAM,KAAK,IACtC,KAAK,CAAC,QAAQ,CACZ,CACN,CAAC;AACJ,CAAC;AAED,eAAe,QAAQ,CAAC"}
|
package/listItem/listItem.tsx
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
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;
|
package/main/main.d.ts
DELETED
package/main/main.js
DELETED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import { joinClassNames } from "@yakad/lib";
|
|
3
|
-
import styles from "./main.module.css";
|
|
4
|
-
function Main(props) {
|
|
5
|
-
const navOpenClass = props.navOpen ? styles.navOpen : "";
|
|
6
|
-
const joinedClassNames = joinClassNames(styles.main, navOpenClass, props.className);
|
|
7
|
-
return (React.createElement("main", { ...props, className: joinedClassNames }, props.children));
|
|
8
|
-
}
|
|
9
|
-
export default Main;
|
|
10
|
-
//# sourceMappingURL=main.js.map
|
package/main/main.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"main.js","sourceRoot":"","sources":["main.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,cAAc,EAAc,MAAM,YAAY,CAAC;AACxD,OAAO,MAAM,MAAM,mBAAmB,CAAC;AAMvC,SAAS,IAAI,CAAC,KAAgB;IAC5B,MAAM,YAAY,GAAG,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC,CAAC,EAAE,CAAC;IAEzD,MAAM,gBAAgB,GAAG,cAAc,CACrC,MAAM,CAAC,IAAI,EACX,YAAY,EACZ,KAAK,CAAC,SAAU,CACjB,CAAC;IAEF,OAAO,CACL,iCAAU,KAAK,EAAE,SAAS,EAAE,gBAAgB,IACzC,KAAK,CAAC,QAAQ,CACV,CACR,CAAC;AACJ,CAAC;AAED,eAAe,IAAI,CAAC"}
|
package/main/main.module.css
DELETED
|
@@ -1,19 +0,0 @@
|
|
|
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
DELETED
|
@@ -1,25 +0,0 @@
|
|
|
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;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
interface NavigationProps extends React.HTMLAttributes<HTMLElement> {
|
|
3
|
-
anchor?: "left" | "right" | "top" | "bottom" | "auto";
|
|
4
|
-
open: boolean;
|
|
5
|
-
}
|
|
6
|
-
declare function Navigation(props: NavigationProps): JSX.Element;
|
|
7
|
-
export default Navigation;
|
package/navigation/navigation.js
DELETED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import { joinClassNames } from "@yakad/lib";
|
|
3
|
-
import styles from "./navigation.module.css";
|
|
4
|
-
function Navigation(props) {
|
|
5
|
-
const joinedClassNames = joinClassNames(styles.navigation, props.anchor ? styles[props.anchor] : styles.auto, props.open ? styles.open : "");
|
|
6
|
-
return (React.createElement("nav", { ...props, className: joinedClassNames }, props.children));
|
|
7
|
-
}
|
|
8
|
-
export default Navigation;
|
|
9
|
-
//# sourceMappingURL=navigation.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"navigation.js","sourceRoot":"","sources":["navigation.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,cAAc,EAAE,MAAM,YAAY,CAAC;AAC5C,OAAO,MAAM,MAAM,yBAAyB,CAAC;AAO7C,SAAS,UAAU,CAAC,KAAsB;IACtC,MAAM,gBAAgB,GAAG,cAAc,CACnC,MAAM,CAAC,UAAU,EACjB,KAAK,CAAC,MAAM,CAAC,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,IAAI,EACjD,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,CAChC,CAAC;IAEF,OAAO,CACH,gCAAS,KAAK,EAAE,SAAS,EAAE,gBAAgB,IACtC,KAAK,CAAC,QAAQ,CACb,CACT,CAAC;AACN,CAAC;AAED,eAAe,UAAU,CAAC"}
|
|
@@ -1,56 +0,0 @@
|
|
|
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
|
-
}
|