mirror of
https://github.com/Steffo99/bluelib.git
synced 2024-12-22 19:44:21 +00:00
0.13.3
This commit is contained in:
parent
ca49c2f80f
commit
d40416b19f
22 changed files with 30 additions and 29 deletions
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.a046d.js
Normal file
3
docs/bundle.a046d.js
Normal file
File diff suppressed because one or more lines are too long
1
docs/bundle.a046d.js.map
Normal file
1
docs/bundle.a046d.js.map
Normal file
File diff suppressed because one or more lines are too long
3
docs/bundle.dbfbc.esm.js
Normal file
3
docs/bundle.dbfbc.esm.js
Normal file
File diff suppressed because one or more lines are too long
1
docs/bundle.dbfbc.esm.js.LICENSE.txt
Normal file
1
docs/bundle.dbfbc.esm.js.LICENSE.txt
Normal file
|
@ -0,0 +1 @@
|
||||||
|
/*! For license information please see bundle.dbfbc.esm.js.LICENSE.txt */
|
|
@ -1 +1 @@
|
||||||
{"version":3,"sources":[],"names":[],"mappings":"","file":"bundle.f611d.esm.js","sourceRoot":""}
|
{"version":3,"sources":[],"names":[],"mappings":"","file":"bundle.dbfbc.esm.js","sourceRoot":""}
|
File diff suppressed because one or more lines are too long
|
@ -1 +0,0 @@
|
||||||
/*! For license information please see bundle.f611d.esm.js.LICENSE.txt */
|
|
|
@ -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.1f6e4.css" rel="preload" as="style" onload="this.rel='stylesheet'"><noscript><link rel="stylesheet" href="/bundle.1f6e4.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.f611d.esm.js" type="module"></script><script nomodule="" src="/polyfills.ac517.js"></script><script nomodule="" defer="defer" src="/bundle.0bbc0.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.1f6e4.css" rel="preload" as="style" onload="this.rel='stylesheet'"><noscript><link rel="stylesheet" href="/bundle.1f6e4.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.dbfbc.esm.js" type="module"></script><script nomodule="" src="/polyfills.ac517.js"></script><script nomodule="" defer="defer" src="/bundle.a046d.js"></script></body></html>
|
|
@ -1 +1 @@
|
||||||
{"/":{"bundle.1f6e4.css":{"type":"style","weight":1},"bundle.f611d.esm.js":{"type":"script","weight":1}},"/Sample":{"bundle.1f6e4.css":{"type":"style","weight":1},"bundle.f611d.esm.js":{"type":"script","weight":1},"route-Sample.chunk.79891.esm.js":{"type":"script","weight":0.9},"route-Sample.chunk.6e286.css":{"type":"style","weight":0.9}}}
|
{"/":{"bundle.1f6e4.css":{"type":"style","weight":1},"bundle.dbfbc.esm.js":{"type":"script","weight":1}},"/Sample":{"bundle.1f6e4.css":{"type":"style","weight":1},"bundle.dbfbc.esm.js":{"type":"script","weight":1},"route-Sample.chunk.c8cec.esm.js":{"type":"script","weight":0.9},"route-Sample.chunk.6e286.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.79891.esm.js","sourceRoot":""}
|
{"version":3,"sources":[],"names":[],"mappings":"","file":"route-Sample.chunk.c8cec.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.13.2",
|
"version": "0.13.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,4 +1,3 @@
|
||||||
import ValidityStatus from "../../enums/Validity";
|
|
||||||
import FormRow from "./FormRow";
|
import FormRow from "./FormRow";
|
||||||
import style from "./FormRow.less";
|
import style from "./FormRow.less";
|
||||||
import concatClass from "../../utils/concatClass";
|
import concatClass from "../../utils/concatClass";
|
||||||
|
@ -9,12 +8,11 @@ export default function (props) {
|
||||||
<FormRow
|
<FormRow
|
||||||
disabled={props.disabled}
|
disabled={props.disabled}
|
||||||
validity={props.validity}
|
validity={props.validity}
|
||||||
label={props.label}
|
label={props.label}>
|
||||||
icon={props.icon}>
|
|
||||||
<button
|
<button
|
||||||
class={concatClass(style.contentschild, props.disabled ? theme.disabled : null)}
|
class={concatClass(style.contentschild, props.disabled ? theme.disabled : null)}
|
||||||
onClick={(props.disabled && props.validity.validity === ValidityStatus.DISABLED) ? null : props.onClick}
|
onClick={props.disabled ? null : props.onClick}
|
||||||
disabled={props.validity ? props.validity.validity === ValidityStatus.DISABLED : false}>
|
disabled={props.disabled}>
|
||||||
{props.children}
|
{props.children}
|
||||||
</button>
|
</button>
|
||||||
</FormRow>
|
</FormRow>
|
||||||
|
|
|
@ -6,8 +6,7 @@ export default function (props) {
|
||||||
<FormRow
|
<FormRow
|
||||||
disabled={props.disabled}
|
disabled={props.disabled}
|
||||||
validity={props.validity}
|
validity={props.validity}
|
||||||
label={props.label}
|
label={props.label}>
|
||||||
icon={props.icon}>
|
|
||||||
<input
|
<input
|
||||||
class={style.contentschild}
|
class={style.contentschild}
|
||||||
type={props.type}
|
type={props.type}
|
||||||
|
|
|
@ -15,8 +15,12 @@ export default function (props) {
|
||||||
return (
|
return (
|
||||||
<label
|
<label
|
||||||
className={concatClass(style.label, color)}>
|
className={concatClass(style.label, color)}>
|
||||||
<div className={style.text}>{props.label}</div>
|
<div className={style.text}>
|
||||||
<div className={style.icon}>{props.icon}</div>
|
{props.label}
|
||||||
|
</div>
|
||||||
|
<div className={style.icon}>
|
||||||
|
{props.validity.icon}
|
||||||
|
</div>
|
||||||
<div className={style.contents}>
|
<div className={style.contents}>
|
||||||
{props.children}
|
{props.children}
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in a new issue