1
Fork 0
mirror of https://github.com/Steffo99/bluelib.git synced 2024-12-22 11:34:21 +00:00
This commit is contained in:
Steffo 2020-08-09 01:19:24 +02:00
parent 61c2722446
commit a2939bfc99
28 changed files with 51 additions and 43 deletions

3
docs/bundle.00d3e.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.00d3e.esm.js.LICENSE.txt */

View file

@ -1 +1 @@
{"version":3,"sources":[],"names":[],"mappings":"","file":"bundle.2ed79.esm.js","sourceRoot":""}
{"version":3,"sources":[],"names":[],"mappings":"","file":"bundle.00d3e.esm.js","sourceRoot":""}

3
docs/bundle.123eb.js Normal file

File diff suppressed because one or more lines are too long

1
docs/bundle.123eb.js.map Normal file

File diff suppressed because one or more lines are too long

1
docs/bundle.2e581.css Normal file

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.2ed79.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

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.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>
<!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.2e581.css" rel="preload" as="style" onload="this.rel='stylesheet'"><noscript><link rel="stylesheet" href="/bundle.2e581.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.00d3e.esm.js" type="module"></script><script nomodule="" src="/polyfills.ac517.js"></script><script nomodule="" defer="defer" src="/bundle.123eb.js"></script></body></html>

View file

@ -1 +1 @@
{"/":{"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}}}
{"/":{"bundle.2e581.css":{"type":"style","weight":1},"bundle.00d3e.esm.js":{"type":"script","weight":1}},"/Sample":{"bundle.2e581.css":{"type":"style","weight":1},"bundle.00d3e.esm.js":{"type":"script","weight":1},"route-Sample.chunk.9bef0.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.3b05e.esm.js","sourceRoot":""}
{"version":3,"sources":[],"names":[],"mappings":"","file":"route-Sample.chunk.9bef0.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

14
package-lock.json generated
View file

@ -1,6 +1,6 @@
{
"name": "bluelib",
"version": "0.14.2",
"version": "0.14.3",
"lockfileVersion": 1,
"requires": true,
"dependencies": {
@ -4632,9 +4632,9 @@
"dev": true
},
"elliptic": {
"version": "6.5.2",
"resolved": "https://registry.npmjs.org/elliptic/-/elliptic-6.5.2.tgz",
"integrity": "sha512-f4x70okzZbIQl/NSRLkI/+tteV/9WqL98zx+SQ69KbXxmVrmjwsNUPn/gYJJ0sHvEak24cZgHIPegRePAtA/xw==",
"version": "6.5.3",
"resolved": "https://registry.npmjs.org/elliptic/-/elliptic-6.5.3.tgz",
"integrity": "sha512-IMqzv5wNQf+E6aHeIqATs0tOLeOTwj1QKbRcS3jBbYkl5oLAserA8yJTT7/VyHUYG91PRmPyeQDObKLPpeS4dw==",
"dev": true,
"requires": {
"bn.js": "^4.4.0",
@ -7061,9 +7061,9 @@
}
},
"lodash": {
"version": "4.17.15",
"resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.15.tgz",
"integrity": "sha512-8xOcRHvCjnocdS5cpwXQXVzmmh5e5+saE2QGoeQmbKmRS6J3VQppPOIt0MnmE+4xlZoumy0GPG0D0MVIQbNA1A==",
"version": "4.17.19",
"resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.19.tgz",
"integrity": "sha512-JNvd8XER9GQX0v2qJgsaN/mzFCNA5BRe/j8JN9d+tWyGLSodKQHKFicdwNYzWwI3wjRnaKPsGj1XkBjx/F96DQ==",
"dev": true
},
"lodash._reinterpolate": {

View file

@ -1,7 +1,7 @@
{
"private": false,
"name": "bluelib",
"version": "0.14.3",
"version": "0.14.5",
"license": "AGPL-3.0-or-later",
"source": "src/index.js",
"main": "dist/index.js",
@ -12,7 +12,7 @@
],
"scripts": {
"start": "preact watch",
"both": "preact build --template src/template.html --no-prerender --dest docs && git add . && cross-env-shell git commit -m \"$npm_package_version\" && git push && microbundle && npm publish && cross-env-shell hub release create -m \"$npm_package_version\" \"$npm_package_version\""
"both": "preact build --template src/template.html --no-prerender --dest docs && git add . && cross-env-shell git commit -m \"$npm_package_version\" && git push && microbundle && npm publish && cross-env-shell git tag -m \"$npm_package_version\" \"$npm_package_version\""
},
"devDependencies": {
"cross-env": "^7.0.2",

View file

@ -1,5 +1,5 @@
import style from "./HZero.less";
import {concatClass} from "../../index";
import concatClass from "../../utils/concatClass";
export default function (props) {
return (

View file

@ -1,5 +1,5 @@
import style from "./BasicContainer.less";
import {concatClass} from "../../index";
import concatClass from "../../utils/concatClass";
export default function (props) {
return (

View file

@ -1,5 +1,5 @@
import style from "./LeftRight.less";
import {concatClass} from "../../index";
import concatClass from "../../utils/concatClass";
export default function (props) {
return (

View file

@ -1,5 +1,5 @@
import style from "./Box.less";
import {concatClass} from "../../index";
import concatClass from "../../utils/concatClass";
export const BoxColors = Object.freeze({
RED: style.red,

View file

@ -1,5 +1,5 @@
import style from "./TablePanel.less";
import {concatClass} from "../../index";
import concatClass from "../../utils/concatClass";
export default function (props) {
return (

View file

@ -75,11 +75,11 @@
.ok {
color: @okfg;
input[type="text"]&, input[type="password"]&, input[type="text"], input[type="password"] {
input[type="text"], input[type="password"] {
.hb(@okfg; @okbg);
}
&button, button {
button {
.hh(@okfg, @okbg);
}
}
@ -87,11 +87,11 @@
.warning {
color: @warningfg;
input[type="text"]&, input[type="password"]&, input[type="text"], input[type="password"] {
input[type="text"], input[type="password"] {
.hb(@warningfg; @warningbg);
}
button&, button {
button {
.hh(@warningfg, @warningbg);
}
}
@ -99,28 +99,36 @@
.error {
color: @errorfg;
input[type="text"]&, input[type="password"]&, input[type="text"], input[type="password"] {
input[type="text"], input[type="password"] {
.hb(@errorfg; @errorbg);
}
button&, button {
button {
.hh(@errorfg; @errorbg);
}
}
.disabled, :disabled, [disabled] {
.disabled {
color: @disabledfg;
cursor: not-allowed;
input[type="text"]&, input[type="password"]&, input[type="text"], input[type="password"] {
input[type="text"], input[type="password"] {
.hb(@disabledfg; @disabledbg);
}
button&, button {
button {
.hnh(@disabledfg, @disabledbg);
}
}
input[type="text"][disabled], input[type="password"][disabled] {
.hb(@disabledfg; @disabledbg);
}
button[disabled] {
.hnh(@disabledfg, @disabledbg);
}
hr {
border: 1px solid @plusplusplusplus;
margin-top: 24px;