Comparing version 0.0.5 to 0.0.6
@@ -1,2 +0,1 @@ | ||
export { LogoGrid, LogoGrid as default } from './LogoGrid'; | ||
export { LogoGridProps } from './props'; | ||
export { LogoGrid, LogoGrid as default, LogoGridProps } from './LogoGrid'; |
@@ -21,3 +21,3 @@ "use strict"; | ||
get: function get() { | ||
return _props.LogoGridProps; | ||
return _LogoGrid.LogoGridProps; | ||
} | ||
@@ -27,4 +27,2 @@ }); | ||
var _LogoGrid = require("./LogoGrid"); | ||
var _props = require("./props"); | ||
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uL3NyYy9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7QUFBQTs7QUFDQSIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCB7IExvZ29HcmlkLCBMb2dvR3JpZCBhcyBkZWZhdWx0IH0gZnJvbSAnLi9Mb2dvR3JpZCdcbmV4cG9ydCB7IExvZ29HcmlkUHJvcHMgfSBmcm9tICcuL3Byb3BzJ1xuIl19 | ||
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uL3NyYy9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7QUFBQSIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCB7IExvZ29HcmlkLCBMb2dvR3JpZCBhcyBkZWZhdWx0LCBMb2dvR3JpZFByb3BzIH0gZnJvbSAnLi9Mb2dvR3JpZCdcbiJdfQ== |
import * as React from 'react'; | ||
import { LogoGridProps } from './props'; | ||
interface LogoItem { | ||
/** | ||
* Specify the width of the logo from Desktop view | ||
* @desc This is important. You should insert the initial width from the desktop design file you are following, without white space. | ||
* @type number | ||
* @example | ||
* import LogoGrid from 'logo-grid' | ||
* import { Stripe } from 'my-awesome-svgs' | ||
* | ||
* export const logoList = [ | ||
* { logo: Stripe, initialWidth: 108 }, | ||
* ] | ||
* | ||
* <LogoGrid logos={logoList} /> | ||
*/ | ||
initialWidth?: number; | ||
/** | ||
* Specify the logo which should be rendered. Can also be an image src. | ||
* @type number | ||
* @example | ||
* import LogoGrid from 'logo-grid' | ||
* import { Stripe } from 'my-awesome-svgs' | ||
* | ||
* export const logoList = [ | ||
* { logo: Stripe, initialWidth: 108 }, | ||
* { logo: 'https://placeimg.com/640/480/nature', initialWidth: 85 }, | ||
* ] | ||
* | ||
* <LogoGrid logos={logoList} /> | ||
*/ | ||
logo?: React.ReactNode | string; | ||
} | ||
export interface LogoGridProps { | ||
/** | ||
* The className of the LogoGrid component. | ||
* @type string | ||
*/ | ||
className?: string; | ||
/** | ||
* Specify the number of columns for the logos/images on Desktop only | ||
* @type number | ||
* @defaultValue 5 | ||
* @example columns={5} | ||
*/ | ||
columns?: number; | ||
/** | ||
* Specify the alignment of the logos on Desktop only | ||
* @type 'center' | 'left' | ||
* @defaultValue 'center' | ||
* @example desktopAlign="center" | ||
*/ | ||
desktopAlign?: 'center' | 'left'; | ||
/** | ||
* Change the scale of the padding on Desktop between the logos | ||
* @type number | ||
* @defaultValue 1 | ||
* @example | ||
* desktopPaddingScale={1.2} | ||
* desktopPaddingScale={0.8} | ||
*/ | ||
desktopPaddingScale?: number; | ||
/** | ||
* Add a fill color to all the svg path of the provided logos | ||
* @type string | ||
* @example | ||
* fillColor='red' | ||
* fillColor='blue' | ||
*/ | ||
fillColor?: string; | ||
/** | ||
* Add an array of logos | ||
* @type LogoItem[] | ||
* @defaultValue [{ logo: 'https://placeimg.com/640/480/nature', initialWidth: 100 }] | ||
* @example | ||
* import LogoGrid from 'logo-grid' | ||
* import { Stripe, AirBnbIcon, Amazon } from 'my-awesome-svgs' | ||
* | ||
* export const logoList = [ | ||
* { logo: Stripe, initialWidth: 108 }, | ||
* { logo: 'https://placeimg.com/640/480/nature', initialWidth: 85 }, | ||
* { logo: AirBnbIcon, initialWidth: 52 }, | ||
* { logo: Amazon, initialWidth: 136 }, | ||
* { logo: 'https://placeimg.com/640/480/nature', initialWidth: 75 }, | ||
* ] | ||
* | ||
* <LogoGrid logos={logoList} /> | ||
*/ | ||
logos?: LogoItem[]; | ||
/** | ||
* Specify the alignment of the logos on Mobile only | ||
* @type 'center' | 'left' | ||
* @defaultValue 'left' | ||
* @example mobileAlign="left" | ||
*/ | ||
mobileAlign?: 'center' | 'left'; | ||
/** | ||
* Specify the breakpoint px value at which to switch from mobile to desktop layouts | ||
* @type number | ||
* @defaultValue 767 | ||
* @example mobileBreakpoint={600} | ||
*/ | ||
mobileBreakpoint?: number; | ||
/** | ||
* Change the scale of the padding on Mobile between the logos | ||
* @type number | ||
* @defaultValue 1 | ||
* @example | ||
* mobilePaddingScale={1.2} | ||
* mobilePaddingScale={0.8} | ||
*/ | ||
mobilePaddingScale?: number; | ||
/** | ||
* Change the scale of the padding on Mobile between the logos | ||
* @desc Will scale the logos proportionally down on mobile. You can guage this with your eye. 0 to 2 usually with do it, since this is a percentage value. so 1.1 would be 110% of the original. | ||
* @type number | ||
* @defaultValue 1 | ||
* @example | ||
* mobileScale={1.2} | ||
* mobileScale={0.8} | ||
*/ | ||
mobileScale?: number; | ||
/** | ||
* Specify the width of all logos as a group. | ||
* @desc This is important. Similar to initialWidth on the logos, you should insert the initial parentWidth from the desktop design file you are following, without white space. | ||
* @type number | ||
* @defaultValue 1000 | ||
* @example | ||
* parentWidth={900} | ||
* parentWidth={976} | ||
*/ | ||
parentWidth?: number; | ||
/** | ||
* Specify whether the logos should shift to the left or not. | ||
* @desc This is make the left side flush with content above or below it. Helpful on left aligned layouts. | ||
* @type boolean | ||
* @defaultValue false | ||
* @example withOffset={true} | ||
*/ | ||
withOffset?: boolean; | ||
} | ||
export interface LogoGridNewProps { | ||
centeredOffset?: string; | ||
firstLogoOffset?: number; | ||
flushLeft?: string; | ||
initialLogoWrapperWidth?: number; | ||
initialPxOffset?: number; | ||
lastLogoOffset?: number; | ||
numOfColumns?: number; | ||
offset?: string; | ||
singleRow?: boolean; | ||
} | ||
declare const LogoGrid: React.FunctionComponent<LogoGridProps> & { | ||
@@ -4,0 +154,0 @@ defaultProps: Partial<LogoGridProps>; |
@@ -113,2 +113,2 @@ "use strict"; | ||
LogoGrid.defaultProps = defaultProps; | ||
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uL3NyYy9Mb2dvR3JpZC50c3giXSwibmFtZXMiOlsiZGVmYXVsdFByb3BzIiwiY2xhc3NOYW1lIiwiY29sdW1ucyIsImRlc2t0b3BBbGlnbiIsImRlc2t0b3BQYWRkaW5nU2NhbGUiLCJsb2dvcyIsImxvZ28iLCJpbml0aWFsV2lkdGgiLCJtb2JpbGVBbGlnbiIsIm1vYmlsZUJyZWFrcG9pbnQiLCJtb2JpbGVTY2FsZSIsIm1vYmlsZVBhZGRpbmdTY2FsZSIsInBhcmVudFdpZHRoIiwid2l0aE9mZnNldCIsIkxvZ29HcmlkIiwiZmlsbENvbG9yIiwicmVzdCIsIm5ld1Byb3BzIiwic2luZ2xlUm93IiwibGVuZ3RoIiwibnVtT2ZDb2x1bW5zIiwiaW5pdGlhbExvZ29XcmFwcGVyV2lkdGgiLCJmaXJzdExvZ29PZmZzZXQiLCJsYXN0TG9nb09mZnNldCIsImZsdXNoTGVmdCIsInRvRml4ZWQiLCJpbml0aWFsUHhPZmZzZXQiLCJjZW50ZXJlZE9mZnNldCIsIm9mZnNldCIsInRyaW0iLCJtYXAiLCJpZHgiLCJrZXkiLCJSZWFjdCIsImNyZWF0ZUVsZW1lbnQiLCJzcmMiXSwibWFwcGluZ3MiOiI7Ozs7Ozs7Ozs7Ozs7OztBQUFBOztBQUVBOztBQUVBLElBQU1BLFlBQTJCLEdBQUc7QUFDbENDLEVBQUFBLFNBQVMsRUFBRSxFQUR1QjtBQUVsQ0M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uc31cbiAgICAgICAgICAgIHBhcmVudFdpZHRoPXtwYXJlbnRXaWR0aH1cbiAgICAgICAgICAgIGluaXRpYWxXaWR0aD17aW5pdGlhbFdpZHRofVxuICAgICAgICAgICAgc2luZ2xlUm93PXtuZXdQcm9wcy5zaW5nbGVSb3d9XG4gICAgICAgICAgICBtb2JpbGVCcmVha3BvaW50PXttb2JpbGVCcmVha3BvaW50fVxuICAgICAgICAgICAgbW9iaWxlU2NhbGU9e21vYmlsZVNjYWxlfT5cbiAgICAgICAgICAgIDxkaXYgY2xhc3NOYW1lPVwibG9nby13cmFwcGVyXCI+XG4gICAgICAgICAgICAgIHt0eXBlb2YgbG9nbyA9PT0gJ3N0cmluZycgPyBSZWFjdC5jcmVhdGVFbGVtZW50KCdpbWcnLCB7IHNyYzogbG9nbyB9KSA6IFJlYWN0LmNyZWF0ZUVsZW1lbnQobG9nbyl9XG4gICAgICAgICAgICA8L2Rpdj5cbiAgICAgICAgICA8L1N0eWxlZExvZ28+XG4gICAgICAgIClcbiAgICAgIH0pfVxuICAgIDwvU3R5bGVkTG9nb0NvbnRhaW5lcj5cbiAgKVxufVxuXG5Mb2dvR3JpZC5kZWZhdWx0UHJvcHMgPSBkZWZhdWx0UHJvcHNcblxuZXhwb3J0IHsgTG9nb0dyaWQgfVxuIl19 | ||
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uL3NyYy9Mb2dvR3JpZC50c3giXSwibmFtZXMiOlsiZGVmYXVsdFByb3BzIiwiY2xhc3NOYW1lIiwiY29sdW1ucyIsImRlc2t0b3BBbGlnbiIsImRlc2t0b3BQYWRkaW5nU2NhbGUiLCJsb2dvcyIsImxvZ28iLCJpbml0aWFsV2lkdGgiLCJtb2JpbGVBbGlnbiIsIm1vYmlsZUJyZWFrcG9pbnQiLCJtb2JpbGVTY2FsZSIsIm1vYmlsZVBhZGRpbmdTY2FsZSIsInBhcmVudFdpZHRoIiwid2l0a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1ucz17Y29sdW1uc31cbiAgICAgICAgICAgIHBhcmVudFdpZHRoPXtwYXJlbnRXaWR0aH1cbiAgICAgICAgICAgIGluaXRpYWxXaWR0aD17aW5pdGlhbFdpZHRofVxuICAgICAgICAgICAgc2luZ2xlUm93PXtuZXdQcm9wcy5zaW5nbGVSb3d9XG4gICAgICAgICAgICBtb2JpbGVCcmVha3BvaW50PXttb2JpbGVCcmVha3BvaW50fVxuICAgICAgICAgICAgbW9iaWxlU2NhbGU9e21vYmlsZVNjYWxlfT5cbiAgICAgICAgICAgIDxkaXYgY2xhc3NOYW1lPVwibG9nby13cmFwcGVyXCI+XG4gICAgICAgICAgICAgIHt0eXBlb2YgbG9nbyA9PT0gJ3N0cmluZycgPyBSZWFjdC5jcmVhdGVFbGVtZW50KCdpbWcnLCB7IHNyYzogbG9nbyB9KSA6IFJlYWN0LmNyZWF0ZUVsZW1lbnQobG9nbyl9XG4gICAgICAgICAgICA8L2Rpdj5cbiAgICAgICAgICA8L1N0eWxlZExvZ28+XG4gICAgICAgIClcbiAgICAgIH0pfVxuICAgIDwvU3R5bGVkTG9nb0NvbnRhaW5lcj5cbiAgKVxufVxuXG5Mb2dvR3JpZC5kZWZhdWx0UHJvcHMgPSBkZWZhdWx0UHJvcHNcblxuZXhwb3J0IHsgTG9nb0dyaWQgfVxuIl19 |
{ | ||
"name": "logo-grid", | ||
"version": "0.0.5", | ||
"version": "0.0.6", | ||
"description": "Logo Grid is a React-based component to help quickly output perfectly responsive logos to your page.", | ||
@@ -72,3 +72,3 @@ "author": "Jon K. Wheeler", | ||
"storybook": "^1.0.0", | ||
"styled-components": "^4.2.0", | ||
"styled-components": "^5.0.0-beta.8", | ||
"ts-loader": "^6.0.0", | ||
@@ -82,5 +82,3 @@ "tscpaths": "^0.0.7", | ||
}, | ||
"peerDependencies": { | ||
"styled-components": ">= 4" | ||
}, | ||
"peerDependencies": {}, | ||
"bugs": { | ||
@@ -87,0 +85,0 @@ "url": "https://github.com/jonkwheeler/logo-grid/issues" |
@@ -1,2 +0,1 @@ | ||
export { LogoGrid, LogoGrid as default } from './LogoGrid' | ||
export { LogoGridProps } from './props' | ||
export { LogoGrid, LogoGrid as default, LogoGridProps } from './LogoGrid' |
@@ -14,3 +14,3 @@ { | ||
"checkJs": false, | ||
"removeComments": true, | ||
"removeComments": false, | ||
"lib": ["es5", "es6", "es7", "es2017", "dom"], | ||
@@ -17,0 +17,0 @@ "typeRoots": ["node_modules/@types", "./types"], |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
557495
0
957
27