1
Fork 0
mirror of https://github.com/Steffo99/bluelib.git synced 2024-12-22 19:44:21 +00:00
This commit is contained in:
Steffo 2020-08-22 02:46:52 +02:00
parent f5587985d8
commit 226dfd123f
25 changed files with 38 additions and 30 deletions

3
docs/bundle.13d73.esm.js Normal file

File diff suppressed because one or more lines are too long

View file

@ -0,0 +1 @@
/*! For license information please see bundle.13d73.esm.js.LICENSE.txt */

View file

@ -1 +1 @@
{"version":3,"sources":[],"names":[],"mappings":"","file":"bundle.94352.esm.js","sourceRoot":""} {"version":3,"sources":[],"names":[],"mappings":"","file":"bundle.13d73.esm.js","sourceRoot":""}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View file

@ -1 +0,0 @@
/*! For license information please see bundle.94352.esm.js.LICENSE.txt */

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

3
docs/bundle.c9366.js Normal file

File diff suppressed because one or more lines are too long

1
docs/bundle.c9366.js.map Normal file

File diff suppressed because one or more lines are too long

View file

@ -1 +1 @@
<!DOCTYPE html><html lang="it"><head><meta charset="utf-8"><title>bluelib</title><meta name="viewport" content="width=device-width,initial-scale=1"><style>body{background-color:#0d193b;color:#a0ccff}</style><link rel="manifest" href="/manifest.json"><link href="/bundle.e7fa4.css" rel="preload" as="style" onload="this.rel='stylesheet'"><noscript><link rel="stylesheet" href="/bundle.e7fa4.css"></noscript></head><body><script type="__PREACT_CLI_DATA__">{"preRenderData":{"url":"/"}}</script><script nomodule="">!function(){var e=document,t=e.createElement("script");if(!("noModule"in t)&&"onbeforeload"in t){var n=!1;e.addEventListener("beforeload",function(e){if(e.target===t)n=!0;else if(!e.target.hasAttribute("nomodule")||!n)return;e.preventDefault()},!0),t.type="module",t.src=".",e.head.appendChild(t),t.remove()}}();</script><script crossorigin="anonymous" src="/bundle.94352.esm.js" type="module"></script><script nomodule="" src="/polyfills.ac517.js"></script><script nomodule="" defer="defer" src="/bundle.a7003.js"></script></body></html> <!DOCTYPE html><html lang="it"><head><meta charset="utf-8"><title>bluelib</title><meta name="viewport" content="width=device-width,initial-scale=1"><style>body{background-color:#0d193b;color:#a0ccff}</style><link rel="manifest" href="/manifest.json"><link href="/bundle.6f2bb.css" rel="preload" as="style" onload="this.rel='stylesheet'"><noscript><link rel="stylesheet" href="/bundle.6f2bb.css"></noscript></head><body><script type="__PREACT_CLI_DATA__">{"preRenderData":{"url":"/"}}</script><script nomodule="">!function(){var e=document,t=e.createElement("script");if(!("noModule"in t)&&"onbeforeload"in t){var n=!1;e.addEventListener("beforeload",function(e){if(e.target===t)n=!0;else if(!e.target.hasAttribute("nomodule")||!n)return;e.preventDefault()},!0),t.type="module",t.src=".",e.head.appendChild(t),t.remove()}}();</script><script crossorigin="anonymous" src="/bundle.13d73.esm.js" type="module"></script><script nomodule="" src="/polyfills.ac517.js"></script><script nomodule="" defer="defer" src="/bundle.c9366.js"></script></body></html>

View file

@ -1 +1 @@
{"/":{"bundle.e7fa4.css":{"type":"style","weight":1},"bundle.94352.esm.js":{"type":"script","weight":1}},"/Sample":{"bundle.e7fa4.css":{"type":"style","weight":1},"bundle.94352.esm.js":{"type":"script","weight":1},"route-Sample.chunk.026db.esm.js":{"type":"script","weight":0.9},"route-Sample.chunk.ed931.css":{"type":"style","weight":0.9}}} {"/":{"bundle.6f2bb.css":{"type":"style","weight":1},"bundle.13d73.esm.js":{"type":"script","weight":1}},"/Sample":{"bundle.6f2bb.css":{"type":"style","weight":1},"bundle.13d73.esm.js":{"type":"script","weight":1},"route-Sample.chunk.0dea7.esm.js":{"type":"script","weight":0.9},"route-Sample.chunk.ed931.css":{"type":"style","weight":0.9}}}

File diff suppressed because one or more lines are too long

View file

@ -1 +1 @@
{"version":3,"sources":[],"names":[],"mappings":"","file":"route-Sample.chunk.026db.esm.js","sourceRoot":""} {"version":3,"sources":[],"names":[],"mappings":"","file":"route-Sample.chunk.0dea7.esm.js","sourceRoot":""}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View file

@ -1,7 +1,7 @@
{ {
"private": false, "private": false,
"name": "bluelib", "name": "bluelib",
"version": "0.15.1", "version": "0.15.2",
"license": "AGPL-3.0-or-later", "license": "AGPL-3.0-or-later",
"source": "src/index.js", "source": "src/index.js",
"main": "dist/index.js", "main": "dist/index.js",

View file

@ -5,7 +5,6 @@ export default function (props) {
if(Array.isArray(props.children)) { if(Array.isArray(props.children)) {
children = props.children.map(element => { children = props.children.map(element => {
console.log(element);
return ( return (
<div class={style.splitchild}> <div class={style.splitchild}>
{element} {element}

View file

@ -1,7 +1,7 @@
.unmargin { .unmargin {
h1, h2, h3, h4, h5, h6 { h1, h2, h3, h4, h5, h6 {
margin-top: 4px; margin-top: 4px !important;
margin-bottom: 4px; margin-bottom: 4px !important;
} }
p:first-child { p:first-child {

View file

@ -1,13 +1,16 @@
import Box from "./Box"; import Box from "./Box";
import Unmargin from "../Layout/Unmargin"; import Unmargin from "../Layout/Unmargin";
export default function(props) { export default function(props) {
return ( return (
<Box color={props.color} class={props.class}> <Box color={props.color} class={props.class}>
<Unmargin> <Unmargin>
{props.title ?
<h3> <h3>
{props.title} {props.title}
</h3> </h3>
: null}
{props.children} {props.children}
</Unmargin> </Unmargin>
</Box> </Box>

View file

@ -1,11 +1,14 @@
import Split from "../Layout/Split"; import Split from "../Layout/Split";
import style from "./Section.less";
export default function (props) { export default function (props) {
return ( return (
<div> <div>
<h2> {props.title ?
<h2 class={style.sectionTitle}>
{props.title} {props.title}
</h2> </h2>
: null}
<Split> <Split>
{props.children} {props.children}
</Split> </Split>

View file

@ -0,0 +1,3 @@
.sectionTitle {
margin-bottom: 4px;
}