@appsemble/preact
Advanced tools
Comparing version 0.20.42 to 0.20.43
@@ -1,3 +0,3 @@ | ||
import { BootstrapParams, Messages } from '@appsemble/sdk'; | ||
import { ComponentType, VNode } from 'preact'; | ||
import { type BootstrapParams, type Messages } from '@appsemble/sdk'; | ||
import { type ComponentType, type VNode } from 'preact'; | ||
export interface BlockProps extends BootstrapParams { | ||
@@ -4,0 +4,0 @@ /** |
{ | ||
"name": "@appsemble/preact", | ||
"version": "0.20.42", | ||
"version": "0.20.43", | ||
"description": "Build your own blocks using Preact", | ||
@@ -38,5 +38,5 @@ "keywords": [ | ||
"peerDependencies": { | ||
"@appsemble/sdk": "0.20.42", | ||
"@appsemble/sdk": "0.20.43", | ||
"preact": "^10" | ||
} | ||
} |
@@ -1,2 +0,2 @@ | ||
# ![](https://gitlab.com/appsemble/appsemble/-/raw/0.20.42/config/assets/logo.svg) Appsemble Preact SDK | ||
# ![](https://gitlab.com/appsemble/appsemble/-/raw/0.20.43/config/assets/logo.svg) Appsemble Preact SDK | ||
@@ -6,5 +6,14 @@ > Build your own blocks using Preact | ||
[![npm](https://img.shields.io/npm/v/@appsemble/preact)](https://www.npmjs.com/package/@appsemble/preact) | ||
[![GitLab CI](https://gitlab.com/appsemble/appsemble/badges/0.20.42/pipeline.svg)](https://gitlab.com/appsemble/appsemble/-/releases/0.20.42) | ||
[![GitLab CI](https://gitlab.com/appsemble/appsemble/badges/0.20.43/pipeline.svg)](https://gitlab.com/appsemble/appsemble/-/releases/0.20.43) | ||
[![Prettier](https://img.shields.io/badge/code_style-prettier-ff69b4.svg)](https://prettier.io) | ||
## Table of Contents | ||
- [Installation](#installation) | ||
- [Usage](#usage) | ||
- [`bootstrap()`](#bootstrap) | ||
- [`useBlock()`](#useblock) | ||
- [`<FormattedMessage />`](#formattedmessage-) | ||
- [License](#license) | ||
## Installation | ||
@@ -56,3 +65,3 @@ | ||
import { useBlock } from '@appsemble/preact'; | ||
import { VNode } from 'preact'; | ||
import { type VNode } from 'preact'; | ||
@@ -76,3 +85,3 @@ export function MyButton(): VNode { | ||
import { FormattedMessage } from '@appsemble/preact'; | ||
import { VNode } from 'preact'; | ||
import { type VNode } from 'preact'; | ||
@@ -94,3 +103,3 @@ interface MyButtonProps { | ||
[LGPL-3.0-only](https://gitlab.com/appsemble/appsemble/-/blob/0.20.42/LICENSE.md) © | ||
[LGPL-3.0-only](https://gitlab.com/appsemble/appsemble/-/blob/0.20.43/LICENSE.md) © | ||
[Appsemble](https://appsemble.com) |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Copyleft License
License(Experimental) Copyleft license information was found.
Found 1 instance in 1 package
Mixed license
License(Experimental) Package contains multiple licenses.
Found 1 instance in 1 package
Non-permissive License
License(Experimental) A license not known to be considered permissive was found.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Copyleft License
License(Experimental) Copyleft license information was found.
Found 1 instance in 1 package
Non-permissive License
License(Experimental) A license not known to be considered permissive was found.
Found 1 instance in 1 package
14624
5
102
3