@bluframe/bluframe
Advanced tools
Comparing version 0.12.1 to 0.13.0
@@ -5,6 +5,8 @@ // @flow | ||
declare module "@bluframe/blublocks" { | ||
import type { StyledComponent } from "styled-components" | ||
import type { KeyFrames, StyledComponent } from "styled-components" | ||
declare type IconGroup = "ion" | ||
declare type AnimationName = "bounceIn" | "bounceOut" | "fadeIn" | "fadeOut" | ||
declare type BaseColorGrades = {| | ||
@@ -24,2 +26,27 @@ +contrast: string, | ||
declare type ColorName = | ||
| "abbey" | ||
| "alto" | ||
| "black" | ||
| "boulder" | ||
| "capeCod" | ||
| "codGray" | ||
| "diesel" | ||
| "dustyGray" | ||
| "gallery" | ||
| "gray" | ||
| "mercury" | ||
| "mineShaft" | ||
| "nevada" | ||
| "quillGray" | ||
| "shark" | ||
| "silver" | ||
| "silverChalice" | ||
| "tundora" | ||
| "white" | ||
declare type Colors = {| | ||
+[name: string]: string | ||
|} | ||
declare type BasePalette = {| | ||
@@ -41,3 +68,3 @@ +disabled: BaseColorGrades, | ||
declare type Colors = {| | ||
declare type ThemeColors = {| | ||
+gray: ColorGrades | ||
@@ -62,3 +89,3 @@ |} | ||
...BaseTheme, | ||
+colors: Colors, | ||
+colors: ThemeColors, | ||
+palette: Palette | ||
@@ -87,3 +114,3 @@ |} | ||
declare type ContentComponents = {| | ||
[tag: string]: (props: any) => any | ||
[tag: string]: (props: {| +node: React$Node |}) => React$Element<string> | ||
|} | ||
@@ -106,3 +133,3 @@ | ||
+color?: string, | ||
+group: IconGroup, | ||
+group?: IconGroup, | ||
+name: string, | ||
@@ -112,7 +139,2 @@ +size?: string | ||
declare type FAIconProps = {| | ||
+name: string, | ||
+fontSize?: string | ||
|} | ||
declare type LoadingProps = {| | ||
@@ -133,3 +155,3 @@ +contrast?: boolean, | ||
declare type Option = {| | ||
+label: string, | ||
+label: React$Node, | ||
+value: OptionValue | ||
@@ -140,3 +162,3 @@ |} | ||
+className?: string, | ||
+label: string, | ||
+label: React$Node, | ||
+name: string, | ||
@@ -156,2 +178,8 @@ +onChange: (value: OptionValue) => void, | ||
declare type SelectedIconProps = {| | ||
+color?: string, | ||
+size?: string, | ||
+title?: string | ||
|} | ||
declare type SelectProps = {| | ||
@@ -167,6 +195,16 @@ +className?: string, | ||
// Components | ||
declare type AnimationComponents = {| +[key: AnimationName]: KeyFrames |} | ||
declare type ButtonComponent = React$ComponentType<ButtonProps> | ||
declare type ContentComponent = React$ComponentType<ContentProps> | ||
declare type FAIconComponent = React$ComponentType<FAIconProps> | ||
declare type HamburgerComponent = React$ComponentType<HamburgerProps> | ||
declare type FadeInComponent = StyledComponent< | ||
{| +fadeIn: "Left" | "Right" | "Up", +isAnimated: boolean |}, | ||
Theme, | ||
HTMLDivElement | ||
> | ||
declare type FlipComponent = StyledComponent< | ||
{| +flip: "X" | "Y", +isAnimated: boolean |}, | ||
Theme, | ||
HTMLDivElement | ||
> | ||
declare type IconComponent = React$ComponentType<IconProps> | ||
@@ -178,4 +216,4 @@ declare type LoadingComponent = React$ComponentType<LoadingProps> | ||
declare type ResetButtonComponent = StyledComponent< | ||
{}, | ||
mixed, | ||
{||}, | ||
Theme, | ||
HTMLButtonElement | ||
@@ -186,17 +224,26 @@ > | ||
// Exports | ||
declare var Animations: any | ||
declare var Animations: AnimationComponents | ||
declare var BluBlocksProvider: ProviderComponent | ||
declare var Button: ButtonComponent | ||
declare var Column: StyledComponent<{}, mixed, HTMLDivElement> | ||
declare var Container: StyledComponent<{}, mixed, HTMLDivElement> | ||
declare var Content: ContentComponent | ||
declare var FAIcon: FAIconComponent | ||
declare var FadeIn: any | ||
declare var Flip: any | ||
declare var FadeIn: FadeInComponent | ||
declare var Flip: FlipComponent | ||
declare var H1: StyledComponent<{||}, Theme, HTMLHeadingElement> | ||
declare var H2: StyledComponent<{||}, Theme, HTMLHeadingElement> | ||
declare var H3: StyledComponent<{||}, Theme, HTMLHeadingElement> | ||
declare var H4: StyledComponent<{||}, Theme, HTMLHeadingElement> | ||
declare var H5: StyledComponent<{||}, Theme, HTMLHeadingElement> | ||
declare var H6: StyledComponent<{||}, Theme, HTMLHeadingElement> | ||
declare var Hamburger: HamburgerComponent | ||
declare var Icon: IconComponent | ||
declare var Loading: LoadingComponent | ||
declare var Paragraph: StyledComponent<{||}, Theme, HTMLParagraphElement> | ||
declare var Radio: RadioComponent | ||
declare var RadioGroup: RadioGroupComponent | ||
declare var ResetButton: ResetButtonComponent | ||
declare var Row: StyledComponent<{}, mixed, HTMLDivElement> | ||
declare var Section: StyledComponent<{}, mixed, HTMLElement> | ||
declare var colors: any | ||
declare var Select: SelectComponent | ||
declare var SubtitleH1: StyledComponent<{||}, Theme, HTMLParagraphElement> | ||
declare var SubtitleH2: StyledComponent<{||}, Theme, HTMLParagraphElement> | ||
declare var SubtitleH3: StyledComponent<{||}, Theme, HTMLParagraphElement> | ||
declare var colors: Colors | ||
declare var mediaQueries: MediaQueries | ||
@@ -206,3 +253,5 @@ } | ||
declare module "@bluframe/blublocks/Animations" { | ||
declare export default any | ||
import type { AnimationComponents } from "@bluframe/blublocks" | ||
declare export default AnimationComponents | ||
} | ||
@@ -228,8 +277,14 @@ | ||
declare module "@bluframe/blublocks/FAIcon" { | ||
import type { FAIconComponent } from "@bluframe/blublocks" | ||
declare module "@bluframe/blublocks/FadeIn" { | ||
import type { FadeInComponent } from "@bluframe/blublocks" | ||
declare export default FAIconComponent | ||
declare export default FadeInComponent | ||
} | ||
declare module "@bluframe/blublocks/Flip" { | ||
import type { FlipComponent } from "@bluframe/blublocks" | ||
declare export default FlipComponent | ||
} | ||
declare module "@bluframe/blublocks/Typography/H1" { | ||
@@ -314,2 +369,8 @@ import type { StyledComponent } from "styled-components" | ||
declare module "@bluframe/blublocks/ResetButton" { | ||
import type { ResetButtonComponent } from "@bluframe/blublocks" | ||
declare export default ResetButtonComponent | ||
} | ||
declare module "@bluframe/blublocks/Select" { | ||
@@ -342,6 +403,6 @@ import type { SelectComponent } from "@bluframe/blublocks" | ||
declare module "@bluframe/blublocks/ResetButton" { | ||
import type { ResetButtonComponent } from "@bluframe/blublocks" | ||
declare module "@bluframe/blublocks/colors" { | ||
import type { Colors } from "@bluframe/blublocks" | ||
declare export default ResetButtonComponent | ||
declare export default Colors | ||
} | ||
@@ -348,0 +409,0 @@ |
// @flow | ||
type IconProps = {| | ||
+color?: string, | ||
+size?: string, | ||
+title?: string | ||
|} | ||
declare module "@react-icons/all-files/io5/IoAccessibilityOutline" { | ||
declare export var IoAccessibilityOutline: any; | ||
declare export var IoAccessibilityOutline: React$ComponentType<IconProps> | ||
} | ||
declare module "@react-icons/all-files/io5/IoArrowBack" { | ||
declare export var IoArrowBack: React$ComponentType<IconProps> | ||
} | ||
declare module "@react-icons/all-files/io5/IoArrowForward" { | ||
declare export var IoArrowForward: React$ComponentType<IconProps> | ||
} | ||
declare module "@react-icons/all-files/io5/IoBulbOutline" { | ||
declare export var IoBulbOutline: any; | ||
declare export var IoBulbOutline: React$ComponentType<IconProps> | ||
} | ||
declare module "@react-icons/all-files/io5/IoChatbubbleOutline" { | ||
declare export var IoChatbubbleOutline: any; | ||
declare export var IoChatbubbleOutline: React$ComponentType<IconProps> | ||
} | ||
declare module "@react-icons/all-files/io5/IoCloudOutline" { | ||
declare export var IoCloudOutline: any; | ||
declare export var IoCloudOutline: React$ComponentType<IconProps> | ||
} | ||
declare module "@react-icons/all-files/io5/IoHeartOutline" { | ||
declare export var IoHeartOutline: any; | ||
declare export var IoHeartOutline: React$ComponentType<IconProps> | ||
} | ||
declare module "@react-icons/all-files/io5/IoLaptopOutline" { | ||
declare export var IoLaptopOutline: any; | ||
declare export var IoLaptopOutline: React$ComponentType<IconProps> | ||
} | ||
declare module "@react-icons/all-files/io5/IoMapOutline" { | ||
declare export var IoMapOutline: any; | ||
declare export var IoMapOutline: React$ComponentType<IconProps> | ||
} | ||
declare module "@react-icons/all-files/io5/IoPaperPlaneOutline" { | ||
declare export var IoPaperPlaneOutline: any; | ||
declare export var IoPaperPlaneOutline: React$ComponentType<IconProps> | ||
} | ||
declare module "@react-icons/all-files/io5/IoSpeedometerOutline" { | ||
declare export var IoSpeedometerOutline: any; | ||
declare export var IoSpeedometerOutline: React$ComponentType<IconProps> | ||
} |
{ | ||
"name": "@bluframe/bluframe", | ||
"version": "0.12.1", | ||
"version": "0.13.0", | ||
"description": "Blu Frame Open Source!", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
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
86586
2395