@bluframe/bluframe
Advanced tools
Comparing version 0.13.1 to 0.14.0
@@ -109,2 +109,17 @@ // @flow | ||
declare type OptionValue = number | string | ||
declare type Option = {| | ||
+label: React$Node, | ||
+value: OptionValue | ||
|} | ||
declare type CheckboxProps = {| | ||
...Option, | ||
+inputId?: string, | ||
+isChecked: boolean, | ||
+name: string, | ||
+onChange: (value: OptionValue) => void | ||
|} | ||
declare type ContentComponents = {| | ||
@@ -146,9 +161,2 @@ [tag: string]: (props: {| +node: React$Node |}) => React$Element<string> | ||
declare type OptionValue = number | string | ||
declare type Option = {| | ||
+label: React$Node, | ||
+value: OptionValue | ||
|} | ||
declare type RadioGroupProps = {| | ||
@@ -189,2 +197,3 @@ +className?: string, | ||
declare type ButtonComponent = React$ComponentType<ButtonProps> | ||
declare type CheckboxComponent = React$ComponentType<CheckboxProps> | ||
declare type ContentComponent = React$ComponentType<ContentProps> | ||
@@ -218,2 +227,3 @@ declare type HamburgerComponent = React$ComponentType<HamburgerProps> | ||
declare var Button: ButtonComponent | ||
declare var Checkbox: CheckboxComponent | ||
declare var Content: ContentComponent | ||
@@ -255,2 +265,8 @@ declare var FadeIn: FadeInComponent | ||
declare module "@bluframe/blublocks/Checkbox" { | ||
import type { CheckboxComponent } from "@bluframe/blublocks" | ||
declare export default CheckboxComponent | ||
} | ||
declare module "@bluframe/blublocks/Button" { | ||
@@ -257,0 +273,0 @@ import type { ButtonComponent } from "@bluframe/blublocks" |
{ | ||
"name": "@bluframe/bluframe", | ||
"version": "0.13.1", | ||
"version": "0.14.0", | ||
"description": "Blu Frame Open Source!", | ||
@@ -22,3 +22,3 @@ "main": "index.js", | ||
"postinstall": "husky install", | ||
"prepublish": "yarn lint:ci && yarn flow:ci && yarn test:ci && yarn clean && yarn build:ci", | ||
"prepublish": "yarn lint:ci && yarn flow:ci && yarn test:ci && yarn build:ci", | ||
"publish": "yarn npm publish --access public", | ||
@@ -25,0 +25,0 @@ "restart": "docker compose restart", |
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
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
90574
26
2408