import * as React from "react";
import * as Strings from "~/common/strings";
import * as System from "~/components/system";
import * as Fixtures from "~/common/fixtures";
import * as SVG from "~/components/system/svg";
import * as OldSVG from "~/common/svg";
import * as Constants from "~/common/constants";
import { css } from "@emotion/react";
import GLRenderer from "~/components/three/GLRenderer";
import Group from "~/components/system/Group";
import SystemPage from "~/components/system/SystemPage";
const DEFAULT_SYSTEM_ICON_SIZE = "88px";
const ICONS = [
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
];
const SELECT_MENU_OPTIONS = [
{ value: "1", name: "Capricorn" },
{ value: "2", name: "Aquarius" },
{ value: "3", name: "Pisces" },
{ value: "4", name: "Aries" },
{ value: "5", name: "Taurus" },
{ value: "6", name: "Gemini" },
{ value: "7", name: "Cancer" },
{ value: "8", name: "Leo" },
{ value: "9", name: "Virgo" },
{ value: "10", name: "Libra" },
{ value: "11", name: "Scorpio" },
{ value: "12", name: "Sagittarus" },
];
const SELECT_MENU_MAP = {
"1": "Capricorn",
"2": "Aquarius",
"3": "Pisces",
"4": "Aries",
"5": "Taurus",
"6": "Gemini",
"7": "Cancer",
"8": "Leo",
"9": "Virgo",
"10": "Libra",
"11": "Scorpio",
"12": "Sagittarus",
};
const RADIO_GROUP_OPTIONS = [
{
value: "1",
label: (
Breakfast Option I want to have cake and soda for breakfast.
),
},
{
value: "2",
label: (
Lunch Option I want to have cake and soda for lunch.
),
},
{
value: "3",
label: (
Dinner Option I want to have cake and soda for dinner.
),
},
{
value: "4",
label:
"AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
},
];
const TAB_GROUP_TWO = [
{ value: "1", label: "Capricorn" },
{ value: "2", label: "Aquarius" },
];
const TAB_GROUP_THREE = [
{ value: "1", label: "Capricorn" },
{ value: "2", label: "Aquarius" },
{ value: "3", label: "Pisces" },
];
const TAB_GROUP_FOUR = [
{ value: "1", label: "Capricorn" },
{ value: "2", label: "Aquarius" },
{ value: "3", label: "Pisces" },
{ value: "4", label: "Aries" },
];
const STYLES_ICON = css`
padding: 24px;
color: ${Constants.system.white};
display: inline-flex;
transition: 200ms ease color;
:hover {
color: ${Constants.system.brand};
}
`;
const STYLES_ICON_ELEMENT = css`
height: 40px;
width: 40px;
border-radius: 40px;
display: inline-flex;
align-items: center;
justify-content: center;
background-color: ${Constants.system.brand};
color: ${Constants.system.white};
user-select: none;
`;
const STYLES_PAGE = css`
background: #fcfcfc;
`;
const STYLES_BODY = css`
max-width: 960px;
width: 100%;
margin: 0 auto 0 auto;
padding: 88px 24px 128px 24px;
`;
const STYLES_COLOR_BAR = css`
width: 100%;
display: flex;
align-items: center;
padding: 72px 24px 0 0px;
`;
const STYLES_COLOR_TEXT = css`
display: block;
text-transform: uppercase;
letter-spacing: 0.2px;
font-size: 12px;
padding: 8px;
color: ${Constants.system.white};
background-color: rgba(0, 0, 0, 0.4);
margin-top: 8px;
`;
export default class SystemPageRoot extends React.Component {
state = {
one: "1",
two: "3",
three: true,
four: false,
five: "1",
six: false,
seven: true,
eight: "1",
nine: "1",
ten: "1",
eleven: "1",
twelve: "Replace me Cake",
thirteen: "",
fourteen: "",
fifteen: "aaaaa-bbbbb-ccccc-ddddd-eeee",
sixteen: "",
seventeen: `example
example
example
example`,
eighteen: "2",
nineteen: null,
table_data: null,
};
_handleChange = (e) => {
this.setState({ [e.target.name]: e.target.value });
};
render() {
return (
{" "}
FCDS 1.0
This is an early preview of the{" "}
Filecoin Client Design System (FCDS). We are
developing our philosophy, principles and practices out in the open.
Introduction
Components here are free for you to use in any of your projects. The
components will serve as common use cases of the Filecoin Network,
making it easier to integrate the Filecoin Network into your own
applications.
Stay tuned for updates. A GitHub link will be available soon.
{ICONS.map((icon, i) => {
return (
Button DisabledI want to attend IPFS Pinning Summit
The IPFS Pinning Summit is a 2-day virtual conference designed for
the infrastructure and service providers of the distributed web.
Return Cake I want Cake to become a different object.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
"Software"), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so, subject to
the following conditions:
The above copyright notice and this permission notice shall be
included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
);
}
}