2024-05-06 13:46:11 +03:30
|
|
|
import React from "react";
|
2024-05-20 09:53:02 +03:30
|
|
|
import PlayGroundCharts from "./PlayGround-Charts";
|
|
|
|
|
import PlayGroundPopupModals from "./PlayGround-Popup-Modals";
|
|
|
|
|
import PlayGroundTooltips from "./PlayGround-Tooltips";
|
2024-07-13 14:17:04 -04:00
|
|
|
import Field from "../../Components/TextFields/Field";
|
2024-05-06 13:46:11 +03:30
|
|
|
|
|
|
|
|
// This Component is just for the development and test
|
|
|
|
|
// purposes and just to see what my components look like while development
|
|
|
|
|
// and will be removed in the end
|
|
|
|
|
function PlayGround() {
|
|
|
|
|
return (
|
|
|
|
|
<div>
|
|
|
|
|
{/* Default state of Email Text Fields */}
|
2024-07-13 14:17:04 -04:00
|
|
|
<div
|
|
|
|
|
style={{
|
|
|
|
|
display: "flex",
|
|
|
|
|
flexDirection: "column",
|
|
|
|
|
gap: "10px",
|
|
|
|
|
maxWidth: "400px",
|
|
|
|
|
padding: "10px",
|
|
|
|
|
}}
|
|
|
|
|
>
|
|
|
|
|
<Field
|
|
|
|
|
type="email"
|
|
|
|
|
id="outlined-basic"
|
|
|
|
|
label="Email"
|
|
|
|
|
placeholder="olivia@untitledui.com"
|
|
|
|
|
/>
|
|
|
|
|
{/* Email Text Field when validation error occures */}
|
|
|
|
|
<Field
|
|
|
|
|
type="email"
|
|
|
|
|
id="outlined-basic"
|
|
|
|
|
label="Email"
|
|
|
|
|
placeholder="olivia@untitledui.com"
|
|
|
|
|
error="This is an error message"
|
|
|
|
|
/>
|
|
|
|
|
</div>
|
2024-05-20 09:53:02 +03:30
|
|
|
|
2024-05-07 17:32:35 +03:30
|
|
|
<hr />
|
2024-05-20 09:53:02 +03:30
|
|
|
|
2024-07-13 14:17:04 -04:00
|
|
|
{/* Now, illustration of the Website text fields */}
|
|
|
|
|
<div
|
|
|
|
|
style={{
|
|
|
|
|
display: "flex",
|
|
|
|
|
flexDirection: "column",
|
|
|
|
|
gap: "10px",
|
|
|
|
|
maxWidth: "400px",
|
|
|
|
|
padding: "10px",
|
|
|
|
|
}}
|
|
|
|
|
>
|
|
|
|
|
<Field type="url" label="Website" />
|
|
|
|
|
<Field type="url" label="Website" hasCopy={true} />
|
|
|
|
|
</div>
|
2024-05-20 09:53:02 +03:30
|
|
|
|
2024-05-07 20:26:55 +03:30
|
|
|
<hr />
|
|
|
|
|
{/* Now, illustration of the Description text fields */}
|
2024-05-20 09:53:02 +03:30
|
|
|
|
2024-07-13 14:17:04 -04:00
|
|
|
<div
|
|
|
|
|
style={{
|
|
|
|
|
display: "flex",
|
|
|
|
|
flexDirection: "column",
|
|
|
|
|
gap: "10px",
|
|
|
|
|
maxWidth: "400px",
|
|
|
|
|
padding: "10px",
|
|
|
|
|
}}
|
|
|
|
|
>
|
|
|
|
|
<Field
|
|
|
|
|
type="description"
|
|
|
|
|
label="Description"
|
|
|
|
|
placeholder="Enter a description... "
|
|
|
|
|
/>
|
|
|
|
|
<Field
|
|
|
|
|
type="description"
|
|
|
|
|
label="Description"
|
|
|
|
|
placeholder="Enter a description... "
|
|
|
|
|
error="This is an error message"
|
|
|
|
|
/>
|
|
|
|
|
</div>
|
2024-05-20 09:53:02 +03:30
|
|
|
<hr />
|
|
|
|
|
<PlayGroundCharts />
|
|
|
|
|
<hr />
|
|
|
|
|
<PlayGroundPopupModals />
|
|
|
|
|
<hr />
|
|
|
|
|
<PlayGroundTooltips />
|
2024-05-06 13:46:11 +03:30
|
|
|
</div>
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export default PlayGround;
|