@corex/bulma
Advanced tools
Comparing version 1.2.16 to 1.2.17
import classnames from 'classnames'; | ||
import React from 'react'; | ||
import BulmaComponent from '../BulmaComponent'; | ||
const ColumnGroup = ({ isVCentered, ...restProps }) => (React.createElement(BulmaComponent, Object.assign({}, restProps, { elementClass: classnames('columns', { | ||
const ColumnGroup = ({ isVCentered, isGapless, ...restProps }) => (React.createElement(BulmaComponent, Object.assign({}, restProps, { elementClass: classnames('columns', { | ||
'is-vcentered': isVCentered | ||
}, { | ||
'is-gapless': isGapless | ||
}) }))); | ||
@@ -7,0 +9,0 @@ ColumnGroup.displayName = 'Column.Group'; |
@@ -6,2 +6,3 @@ /// <reference types="react" /> | ||
isVCentered?: boolean; | ||
isGapless?: boolean; | ||
} | ||
@@ -8,0 +9,0 @@ export interface IColumnProps extends React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, IBulmaComponentProps { |
@@ -7,4 +7,4 @@ import classnames from 'classnames'; | ||
import HeroHead from './HeroHead'; | ||
const Hero = ({ className, isColor, isGradient, isFullHeightWithNavbar, ...restProps }) => (React.createElement(BulmaComponent, Object.assign({}, restProps, { elementClass: classnames('hero', { | ||
'is-bold': isGradient | ||
const Hero = ({ className, isColor, isFullHeightWithNavbar, isBold, ...restProps }) => (React.createElement(BulmaComponent, Object.assign({}, restProps, { elementClass: classnames('hero', { | ||
'is-bold': isBold | ||
}, { | ||
@@ -11,0 +11,0 @@ 'is-fullheight-with-navbar': isFullHeightWithNavbar |
@@ -5,5 +5,5 @@ /// <reference types="react" /> | ||
export interface IHeroProps extends React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, IColor, IBulmaComponentProps { | ||
isGradient?: boolean; | ||
isSize?: 'medium' | 'large' | 'fullheight'; | ||
isFullHeightWithNavbar?: boolean; | ||
isBold?: boolean; | ||
} | ||
@@ -10,0 +10,0 @@ export interface IHeroHeadProps extends React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, IBulmaComponentProps { |
/// <reference types="react" /> | ||
import { AllBulmaColors } from '../BulmaComponent/colors'; | ||
import { IBulmaComponentProps } from '../BulmaComponent/interface'; | ||
export declare type BulmaTypographySize = '1' | '2' | '3' | '4' | '5' | '6' | '7' | 'default'; | ||
export declare type BulmaAlignment = 'centered' | 'justified' | 'left' | 'right' | 'default'; | ||
export declare type BulmaTextTransformation = 'capitalized' | 'lowercase' | 'uppercase' | 'italic' | 'default'; | ||
export declare type BulmaTextWeight = 'light' | 'normal' | 'medium' | 'semibold' | 'bold' | 'default'; | ||
export declare type BulmaFontFamily = 'sans-serif' | 'monospace' | 'primary' | 'secondary' | 'code' | 'default'; | ||
export declare type BulmaTypographySize = '1' | '2' | '3' | '4' | '5' | '6' | '7'; | ||
export declare type BulmaAlignment = 'centered' | 'justified' | 'left' | 'right'; | ||
export declare type BulmaTextTransformation = 'capitalized' | 'lowercase' | 'uppercase' | 'italic'; | ||
export declare type BulmaTextWeight = 'light' | 'normal' | 'medium' | 'semibold' | 'bold'; | ||
export declare type BulmaFontFamily = 'sans-serif' | 'monospace' | 'primary' | 'secondary' | 'code'; | ||
export interface ITypographyProps extends IBulmaComponentProps { | ||
@@ -10,0 +10,0 @@ hasTextColor?: AllBulmaColors; |
{ | ||
"name": "@corex/bulma", | ||
"version": "1.2.16", | ||
"version": "1.2.17", | ||
"main": "./dist/index.js", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
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
90690
2107