mirror of
https://github.com/Steffo99/bluelib.git
synced 2024-12-22 11:34:21 +00:00
0.14.3
This commit is contained in:
parent
b87d6a8eb3
commit
61c2722446
31 changed files with 49 additions and 51 deletions
3
docs/bundle.2ed79.esm.js
Normal file
3
docs/bundle.2ed79.esm.js
Normal file
File diff suppressed because one or more lines are too long
1
docs/bundle.2ed79.esm.js.LICENSE.txt
Normal file
1
docs/bundle.2ed79.esm.js.LICENSE.txt
Normal file
|
@ -0,0 +1 @@
|
||||||
|
/*! For license information please see bundle.2ed79.esm.js.LICENSE.txt */
|
|
@ -1 +1 @@
|
||||||
{"version":3,"sources":[],"names":[],"mappings":"","file":"bundle.b7ca7.esm.js","sourceRoot":""}
|
{"version":3,"sources":[],"names":[],"mappings":"","file":"bundle.2ed79.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
3
docs/bundle.72177.js
Normal file
3
docs/bundle.72177.js
Normal file
File diff suppressed because one or more lines are too long
1
docs/bundle.72177.js.map
Normal file
1
docs/bundle.72177.js.map
Normal file
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -1 +0,0 @@
|
||||||
/*! For license information please see bundle.b7ca7.esm.js.LICENSE.txt */
|
|
File diff suppressed because one or more lines are too long
|
@ -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.2fd1b.css" rel="preload" as="style" onload="this.rel='stylesheet'"><noscript><link rel="stylesheet" href="/bundle.2fd1b.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.b7ca7.esm.js" type="module"></script><script nomodule="" src="/polyfills.ac517.js"></script><script nomodule="" defer="defer" src="/bundle.42c3f.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.be050.css" rel="preload" as="style" onload="this.rel='stylesheet'"><noscript><link rel="stylesheet" href="/bundle.be050.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.2ed79.esm.js" type="module"></script><script nomodule="" src="/polyfills.ac517.js"></script><script nomodule="" defer="defer" src="/bundle.72177.js"></script></body></html>
|
|
@ -1 +1 @@
|
||||||
{"/":{"bundle.2fd1b.css":{"type":"style","weight":1},"bundle.b7ca7.esm.js":{"type":"script","weight":1}},"/Sample":{"bundle.2fd1b.css":{"type":"style","weight":1},"bundle.b7ca7.esm.js":{"type":"script","weight":1},"route-Sample.chunk.7188b.esm.js":{"type":"script","weight":0.9},"route-Sample.chunk.6e286.css":{"type":"style","weight":0.9}}}
|
{"/":{"bundle.be050.css":{"type":"style","weight":1},"bundle.2ed79.esm.js":{"type":"script","weight":1}},"/Sample":{"bundle.be050.css":{"type":"style","weight":1},"bundle.2ed79.esm.js":{"type":"script","weight":1},"route-Sample.chunk.3b05e.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
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -1 +1 @@
|
||||||
{"version":3,"sources":[],"names":[],"mappings":"","file":"route-Sample.chunk.7188b.esm.js","sourceRoot":""}
|
{"version":3,"sources":[],"names":[],"mappings":"","file":"route-Sample.chunk.3b05e.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
|
@ -1,7 +1,7 @@
|
||||||
{
|
{
|
||||||
"private": false,
|
"private": false,
|
||||||
"name": "bluelib",
|
"name": "bluelib",
|
||||||
"version": "0.14.2",
|
"version": "0.14.3",
|
||||||
"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",
|
||||||
|
|
|
@ -1,8 +1,9 @@
|
||||||
import style from "./HZero.less";
|
import style from "./HZero.less";
|
||||||
|
import {concatClass} from "../../index";
|
||||||
|
|
||||||
export default function (props) {
|
export default function (props) {
|
||||||
return (
|
return (
|
||||||
<div class={style.h0}>
|
<div class={concatClass(style.h0, props.class)}>
|
||||||
{props.children}
|
{props.children}
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
|
|
|
@ -1,5 +1,7 @@
|
||||||
export default function(props) {
|
export default function(props) {
|
||||||
return (
|
return (
|
||||||
<a href={props.src} title={props.alt} target={"_blank"}><img src={props.src} alt={props.alt}/></a>
|
<a href={props.src} title={props.alt} target={"_blank"} class={props.aClass}>
|
||||||
|
<img src={props.src} alt={props.alt} class={props.imgClass}/>
|
||||||
|
</a>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
|
@ -12,18 +12,17 @@ export default function (props) {
|
||||||
}
|
}
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<label
|
<label class={concatClass(style.label, color)}>
|
||||||
className={concatClass(style.label, color)}>
|
<div class={style.text}>
|
||||||
<div className={style.text}>
|
|
||||||
{props.label}
|
{props.label}
|
||||||
</div>
|
</div>
|
||||||
<div className={style.icon}>
|
<div class={style.icon}>
|
||||||
{props.validity ? props.validity.icon : ""}
|
{props.validity ? props.validity.icon : ""}
|
||||||
</div>
|
</div>
|
||||||
<div className={style.contents}>
|
<div class={style.contents}>
|
||||||
{props.children}
|
{props.children}
|
||||||
</div>
|
</div>
|
||||||
<div className={style.message}>
|
<div class={style.message}>
|
||||||
{props.validity ? props.validity.message : ""}
|
{props.validity ? props.validity.message : ""}
|
||||||
</div>
|
</div>
|
||||||
</label>
|
</label>
|
||||||
|
|
|
@ -1,8 +1,9 @@
|
||||||
import style from "./BasicContainer.less";
|
import style from "./BasicContainer.less";
|
||||||
|
import {concatClass} from "../../index";
|
||||||
|
|
||||||
export default function (props) {
|
export default function (props) {
|
||||||
return (
|
return (
|
||||||
<div class={style.basiccontainer}>
|
<div class={concatClass(style.basiccontainer, props.class)}>
|
||||||
{props.children}
|
{props.children}
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
|
|
|
@ -1,8 +1,9 @@
|
||||||
import style from "./LeftRight.less";
|
import style from "./LeftRight.less";
|
||||||
|
import {concatClass} from "../../index";
|
||||||
|
|
||||||
export default function (props) {
|
export default function (props) {
|
||||||
return (
|
return (
|
||||||
<div class={style.container}>
|
<div class={concatClass(style.container, props.class)}>
|
||||||
<div class={style.left}>
|
<div class={style.left}>
|
||||||
{props.left}
|
{props.left}
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
import style from "./Box.less";
|
import style from "./Box.less";
|
||||||
|
import {concatClass} from "../../index";
|
||||||
|
|
||||||
export const BoxColors = Object.freeze({
|
export const BoxColors = Object.freeze({
|
||||||
RED: style.red,
|
RED: style.red,
|
||||||
|
@ -18,7 +19,7 @@ export default function (props) {
|
||||||
}
|
}
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<div class={style.box + " " + color}>
|
<div class={concatClass(style.box, color, props.class)}>
|
||||||
{props.children}
|
{props.children}
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
|
|
|
@ -3,7 +3,7 @@ import Box from "./Box";
|
||||||
|
|
||||||
export default function(props) {
|
export default function(props) {
|
||||||
return (
|
return (
|
||||||
<Box color={props.color}>
|
<Box color={props.color} class={props.class}>
|
||||||
<h3 class={style.title}>
|
<h3 class={style.title}>
|
||||||
{props.title}
|
{props.title}
|
||||||
</h3>
|
</h3>
|
||||||
|
|
|
@ -1,8 +1,9 @@
|
||||||
import style from "./TablePanel.less";
|
import style from "./TablePanel.less";
|
||||||
|
import {concatClass} from "../../index";
|
||||||
|
|
||||||
export default function (props) {
|
export default function (props) {
|
||||||
return (
|
return (
|
||||||
<table class={style.tablepanel}>
|
<table class={concatClass(style.tablepanel, props.class)}>
|
||||||
{props.children}
|
{props.children}
|
||||||
</table>
|
</table>
|
||||||
);
|
);
|
||||||
|
|
|
@ -45,7 +45,7 @@ export default function(props) {
|
||||||
<img src={`https://latex.codecogs.com/svg.latex?${equation}`}
|
<img src={`https://latex.codecogs.com/svg.latex?${equation}`}
|
||||||
alt={contents}
|
alt={contents}
|
||||||
title={contents}
|
title={contents}
|
||||||
class={style.latex + " " + display}
|
class={concatClass(style.latex, display, props.class)}
|
||||||
/>
|
/>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
@ -55,7 +55,7 @@ export default function(props) {
|
||||||
<img src={`https://latex.codecogs.com/svg.latex?${equation}`}
|
<img src={`https://latex.codecogs.com/svg.latex?${equation}`}
|
||||||
alt={contents}
|
alt={contents}
|
||||||
title={contents}
|
title={contents}
|
||||||
class={style.latex + " " + display}
|
class={concatClass(style.latex, display, props.class)}
|
||||||
/>
|
/>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
|
@ -75,7 +75,7 @@
|
||||||
.ok {
|
.ok {
|
||||||
color: @okfg;
|
color: @okfg;
|
||||||
|
|
||||||
&input[type="text"], &input[type="password"], input[type="text"], input[type="password"] {
|
input[type="text"]&, input[type="password"]&, input[type="text"], input[type="password"] {
|
||||||
.hb(@okfg; @okbg);
|
.hb(@okfg; @okbg);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -87,11 +87,11 @@
|
||||||
.warning {
|
.warning {
|
||||||
color: @warningfg;
|
color: @warningfg;
|
||||||
|
|
||||||
&input[type="text"], &input[type="password"], input[type="text"], input[type="password"] {
|
input[type="text"]&, input[type="password"]&, input[type="text"], input[type="password"] {
|
||||||
.hb(@warningfg; @warningbg);
|
.hb(@warningfg; @warningbg);
|
||||||
}
|
}
|
||||||
|
|
||||||
&button, button {
|
button&, button {
|
||||||
.hh(@warningfg, @warningbg);
|
.hh(@warningfg, @warningbg);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -99,11 +99,11 @@
|
||||||
.error {
|
.error {
|
||||||
color: @errorfg;
|
color: @errorfg;
|
||||||
|
|
||||||
&input[type="text"], &input[type="password"], input[type="text"], input[type="password"] {
|
input[type="text"]&, input[type="password"]&, input[type="text"], input[type="password"] {
|
||||||
.hb(@errorfg; @errorbg);
|
.hb(@errorfg; @errorbg);
|
||||||
}
|
}
|
||||||
|
|
||||||
&button, button {
|
button&, button {
|
||||||
.hh(@errorfg; @errorbg);
|
.hh(@errorfg; @errorbg);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -112,11 +112,11 @@
|
||||||
color: @disabledfg;
|
color: @disabledfg;
|
||||||
cursor: not-allowed;
|
cursor: not-allowed;
|
||||||
|
|
||||||
&input[type="text"], &input[type="password"], input[type="text"], input[type="password"] {
|
input[type="text"]&, input[type="password"]&, input[type="text"], input[type="password"] {
|
||||||
.hb(@disabledfg; @disabledbg);
|
.hb(@disabledfg; @disabledbg);
|
||||||
}
|
}
|
||||||
|
|
||||||
&button, button {
|
button&, button {
|
||||||
.hnh(@disabledfg, @disabledbg);
|
.hnh(@disabledfg, @disabledbg);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -150,14 +150,6 @@
|
||||||
margin: 10px 0;
|
margin: 10px 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
p:first-child {
|
|
||||||
margin-top: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
p:last-child {
|
|
||||||
margin-bottom: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
b {
|
b {
|
||||||
color: @accent;
|
color: @accent;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue