@bigcommerce/big-design-theme
Advanced tools
Comparing version
@@ -6,2 +6,19 @@ # Change Log | ||
# [0.3.0](https://github.com/bigcommerce/big-design/compare/@bigcommerce/big-design-theme@0.2.0...@bigcommerce/big-design-theme@0.3.0) (2019-11-11) | ||
### Features | ||
* **all:** bump styled-components peerDependency version ([fd89fa3](https://github.com/bigcommerce/big-design/commit/fd89fa3)) | ||
* **component:** tooltip for dropdown item ([#228](https://github.com/bigcommerce/big-design/issues/228)) ([4e5fc50](https://github.com/bigcommerce/big-design/commit/4e5fc50)) | ||
### BREAKING CHANGES | ||
* **all:** bumped peer dependency of styled-components to `^4.3.0` | ||
# [0.2.0](https://github.com/bigcommerce/big-design/compare/@bigcommerce/big-design-theme@0.1.2...@bigcommerce/big-design-theme@0.2.0) (2019-10-29) | ||
@@ -8,0 +25,0 @@ |
@@ -88,2 +88,6 @@ 'use strict'; | ||
function _iterableToArrayLimit(arr, i) { | ||
if (!(Symbol.iterator in Object(arr) || Object.prototype.toString.call(arr) === "[object Arguments]")) { | ||
return; | ||
} | ||
var _arr = []; | ||
@@ -124,5 +128,5 @@ var _n = true; | ||
this.options = { | ||
_defineProperty(this, "options", { | ||
htmlFontSize: 16 | ||
}; | ||
}); | ||
} | ||
@@ -276,2 +280,3 @@ | ||
var keyframes = /*#__PURE__*/Object.freeze({ | ||
__proto__: null, | ||
loading: loading, | ||
@@ -348,4 +353,4 @@ rotate: rotate | ||
modal: 1050, | ||
tooltip: 1060, | ||
popover: 1070 | ||
popover: 1060, | ||
tooltip: 1070 | ||
}; | ||
@@ -352,0 +357,0 @@ |
@@ -84,2 +84,6 @@ import { stripUnit, transparentize, rem } from 'polished'; | ||
function _iterableToArrayLimit(arr, i) { | ||
if (!(Symbol.iterator in Object(arr) || Object.prototype.toString.call(arr) === "[object Arguments]")) { | ||
return; | ||
} | ||
var _arr = []; | ||
@@ -120,5 +124,5 @@ var _n = true; | ||
this.options = { | ||
_defineProperty(this, "options", { | ||
htmlFontSize: 16 | ||
}; | ||
}); | ||
} | ||
@@ -272,2 +276,3 @@ | ||
var keyframes = /*#__PURE__*/Object.freeze({ | ||
__proto__: null, | ||
loading: loading, | ||
@@ -344,4 +349,4 @@ rotate: rotate | ||
modal: 1050, | ||
tooltip: 1060, | ||
popover: 1070 | ||
popover: 1060, | ||
tooltip: 1070 | ||
}; | ||
@@ -348,0 +353,0 @@ |
@@ -0,0 +0,0 @@ export interface Helpers { |
export {}; | ||
//# sourceMappingURL=helpers.spec.d.ts.map |
@@ -0,0 +0,0 @@ export * from './helpers'; |
@@ -0,0 +0,0 @@ import { Helpers } from './helpers'; |
export * from './options'; | ||
//# sourceMappingURL=index.d.ts.map |
@@ -0,0 +0,0 @@ export interface ThemeOptions { |
@@ -1,14 +0,13 @@ | ||
import { AllStyleInterpolations } from '../styled/types'; | ||
export interface Border { | ||
box: AllStyleInterpolations; | ||
boxError: AllStyleInterpolations; | ||
none: AllStyleInterpolations; | ||
} | ||
export interface BorderRadius { | ||
circle: AllStyleInterpolations; | ||
none: AllStyleInterpolations; | ||
normal: AllStyleInterpolations; | ||
} | ||
export declare const createBorder: () => Border; | ||
export declare const createBorderRadius: () => BorderRadius; | ||
export declare type Border = ReturnType<typeof createBorder>; | ||
export declare type BorderRadius = ReturnType<typeof createBorderRadius>; | ||
export declare const createBorder: () => { | ||
box: import("styled-components").FlattenInterpolation<import("styled-components").ThemeProps<import("styled-components").DefaultTheme>>; | ||
boxError: import("styled-components").FlattenInterpolation<import("styled-components").ThemeProps<import("styled-components").DefaultTheme>>; | ||
none: string; | ||
}; | ||
export declare const createBorderRadius: () => { | ||
circle: string; | ||
none: number; | ||
normal: string; | ||
}; | ||
//# sourceMappingURL=border.d.ts.map |
@@ -0,0 +0,0 @@ export interface BreakpointValues { |
@@ -0,0 +0,0 @@ export interface Colors { |
@@ -0,0 +0,0 @@ export * from './border'; |
export declare const loading: import("styled-components").Keyframes; | ||
export declare const rotate: import("styled-components").Keyframes; | ||
//# sourceMappingURL=keyframes.d.ts.map |
@@ -0,0 +0,0 @@ export interface LineHeight { |
@@ -1,7 +0,6 @@ | ||
import { AllStyleInterpolations } from '../styled/types'; | ||
export interface Shadow { | ||
floating: AllStyleInterpolations; | ||
raised: AllStyleInterpolations; | ||
} | ||
export declare const shadow: Shadow; | ||
export declare type Shadow = typeof shadow; | ||
export declare const shadow: { | ||
floating: import("styled-components").FlattenInterpolation<import("styled-components").ThemeProps<import("styled-components").DefaultTheme>>; | ||
raised: import("styled-components").FlattenInterpolation<import("styled-components").ThemeProps<import("styled-components").DefaultTheme>>; | ||
}; | ||
//# sourceMappingURL=shadow.d.ts.map |
@@ -0,0 +0,0 @@ export interface Spacing { |
@@ -0,0 +0,0 @@ export declare type FontFamily = string; |
@@ -0,0 +0,0 @@ export interface ZIndex { |
{ | ||
"name": "@bigcommerce/big-design-theme", | ||
"version": "0.2.0", | ||
"version": "0.3.0", | ||
"private": false, | ||
@@ -17,3 +17,5 @@ "sideEffects": false, | ||
"scripts": { | ||
"build": "rollup -c rollup.config.js", | ||
"build": "yarn run build:js && yarn run build:dt", | ||
"build:js": "rollup -c rollup.config.js", | ||
"build:dt": "tsc --emitDeclarationOnly", | ||
"ci": "yarn run lint && yarn run test && yarn run build", | ||
@@ -27,3 +29,3 @@ "lint": "yarn run lint:tslint && yarn run lint:tsc && yarn run lint:prettier", | ||
"test": "jest", | ||
"test:watch": "npm test -- --watchAll" | ||
"test:watch": "jest --watch" | ||
}, | ||
@@ -49,13 +51,14 @@ "files": [ | ||
"react-dom": "^16.8.0", | ||
"styled-components": "^4.1.0" | ||
"styled-components": "^4.3.0" | ||
}, | ||
"devDependencies": { | ||
"@babel/core": "^7.5.5", | ||
"@babel/core": "^7.7.0", | ||
"@babel/preset-env": "^7.5.5", | ||
"@babel/preset-react": "^7.0.0", | ||
"@babel/preset-typescript": "^7.1.0", | ||
"@bigcommerce/configs": "^0.7.0", | ||
"@bigcommerce/configs": "^0.8.0", | ||
"@types/jest": "^24.0.16", | ||
"@types/styled-components": "^4.1.12", | ||
"babel-jest": "^24.5.0", | ||
"concurrently": "^5.0.0", | ||
"jest": "^24.5.0", | ||
@@ -68,14 +71,11 @@ "jest-styled-components": "^6.3.1", | ||
"rollup-plugin-babel": "4.2.0", | ||
"rollup-plugin-commonjs": "^10.0.1", | ||
"rollup-plugin-filesize": "^6.0.1", | ||
"rollup-plugin-node-resolve": "^5.2.0", | ||
"rollup-plugin-replace": "^2.1.0", | ||
"rollup-plugin-sourcemaps": "^0.4.2", | ||
"rollup-plugin-typescript2": "^0.22.1", | ||
"styled-components": "^4.1.3", | ||
"styled-components": "^4.3.0", | ||
"tslint": "^5.14.0", | ||
"typescript": "^3.5.3", | ||
"typescript": "^3.7.2", | ||
"typescript-styled-plugin": "^0.14.0" | ||
}, | ||
"gitHead": "787b28beeeea22037557a6c6cd65940478a26199" | ||
"gitHead": "63ccd16e4843102905334d2e8d4217feb5d5abdf" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
23
-8%877
0.46%0
-100%94063
-0.32%40
-4.76%