Compare commits

..

No commits in common. "c5a38cf4aca476990927e90655d5dde2975d4778" and "a5d288c55823e4436f5a492ddf7f59fecdd14935" have entirely different histories.

7 changed files with 699 additions and 638 deletions

View File

@ -1,7 +1,7 @@
# Preact Components 🧵
# Holllo Preact Components 🧵
> **Holllo's Preact component library.**
## License
Distributed under the [AGPL-3.0-or-later](https://spdx.org/licenses/AGPL-3.0-or-later.html) license, see [LICENSE](https://git.bauke.xyz/Holllo/preact-components/src/branch/main/LICENSE) for more information.
Distributed under the [AGPL-3.0-or-later](https://spdx.org/licenses/AGPL-3.0-or-later.html) license, see [LICENSE](https://git.bauke.xyz/Holllo/holllo-preact-components/src/branch/main/LICENSE) for more information.

View File

@ -1,12 +1,12 @@
{
"name": "@holllo/preact-components",
"description": "Holllo's Preact component library.",
"license": "AGPL-3.0-or-later",
"version": "0.2.2",
"author": "Holllo <helllo@holllo.org>",
"name": "@holllo/gram",
"description": "Opinionated component library using HTM & Preact.",
"license": "GPL-3.0-or-later",
"version": "0.2.1",
"author": "Holllo <helllo@holllo.cc>",
"repository": {
"type": "git",
"url": "https://git.bauke.xyz/Holllo/preact-components"
"url": "https://github.com/Holllo/gram"
},
"scripts": {
"build": "tsc",
@ -15,15 +15,15 @@
"test:snapshots": "ava --update-snapshots"
},
"devDependencies": {
"@happy-dom/global-registrator": "^6.0.4",
"ava": "^4.3.3",
"c8": "^7.12.0",
"htm": "^3.1.1",
"preact": "^10.11.0",
"preact-render-to-string": "^5.2.4",
"ts-node": "^10.9.1",
"typescript": "^4.8.4",
"xo": "^0.52.3"
"@happy-dom/global-registrator": "^2.47.3",
"ava": "^4.0.1",
"c8": "^7.11.0",
"htm": "^3.1.0",
"preact": "^10.6.6",
"preact-render-to-string": "^5.1.20",
"ts-node": "^10.6.0",
"typescript": "^4.6.2",
"xo": "^0.48.0"
},
"peerDependencies": {
"htm": "3.x",
@ -65,10 +65,6 @@
},
"xo": {
"prettier": true,
"rules": {
"@typescript-eslint/consistent-type-imports": "off",
"n/file-extension-in-import": "off"
},
"space": true
}
}

File diff suppressed because it is too large Load Diff

View File

@ -3,7 +3,7 @@ import test from 'ava';
import {html} from 'htm/preact';
import {render} from 'preact';
import {ConfirmButton, ConfirmButtonProps} from '../../source/index.js';
import {ConfirmButton, ConfirmButtonProps} from '../../source/gram.js';
import {sleep} from '../utilities.js';
test.before(() => {

View File

@ -3,7 +3,7 @@ import test from 'ava';
import {html} from 'htm/preact';
import {render} from 'preact';
import {FeedbackButton, FeedbackButtonProps} from '../../source/index.js';
import {FeedbackButton, FeedbackButtonProps} from '../../source/gram.js';
import {sleep} from '../utilities.js';
test.before(() => {

View File

@ -2,7 +2,7 @@ import test from 'ava';
import {html} from 'htm/preact';
import {render} from 'preact-render-to-string';
import {PrivacyLink} from '../../source/index.js';
import {PrivacyLink} from '../../source/gram.js';
test('PrivacyLink', (t) => {
t.snapshot(render(html`<${PrivacyLink} />`), 'Empty');