@bigcommerce/big-design-theme
Advanced tools
Comparing version 1.0.2 to 1.1.0
@@ -10,3 +10,4 @@ "use strict"; | ||
tablet: `720px`, | ||
desktop: `1025px` | ||
desktop: `1025px`, | ||
wide: `1500px` | ||
}; | ||
@@ -16,4 +17,5 @@ const breakpoints = exports.breakpoints = { | ||
tablet: `@media (min-width: ${breakpointValues.tablet})`, | ||
desktop: `@media (min-width: ${breakpointValues.desktop})` | ||
desktop: `@media (min-width: ${breakpointValues.desktop})`, | ||
wide: `@media (min-width: ${breakpointValues.wide})` | ||
}; | ||
const breakpointsOrder = exports.breakpointsOrder = ['mobile', 'tablet', 'desktop']; | ||
const breakpointsOrder = exports.breakpointsOrder = ['mobile', 'tablet', 'desktop', 'wide']; |
export const breakpointValues = { | ||
mobile: `0px`, | ||
tablet: `720px`, | ||
desktop: `1025px` | ||
desktop: `1025px`, | ||
wide: `1500px` | ||
}; | ||
@@ -9,4 +10,5 @@ export const breakpoints = { | ||
tablet: `@media (min-width: ${breakpointValues.tablet})`, | ||
desktop: `@media (min-width: ${breakpointValues.desktop})` | ||
desktop: `@media (min-width: ${breakpointValues.desktop})`, | ||
wide: `@media (min-width: ${breakpointValues.wide})` | ||
}; | ||
export const breakpointsOrder = ['mobile', 'tablet', 'desktop']; | ||
export const breakpointsOrder = ['mobile', 'tablet', 'desktop', 'wide']; |
@@ -5,2 +5,3 @@ export interface BreakpointValues { | ||
desktop: string; | ||
wide: string; | ||
} | ||
@@ -11,2 +12,3 @@ export interface Breakpoints { | ||
desktop: string; | ||
wide: string; | ||
} | ||
@@ -13,0 +15,0 @@ export declare const breakpointValues: BreakpointValues; |
{ | ||
"name": "@bigcommerce/big-design-theme", | ||
"version": "1.0.2", | ||
"version": "1.1.0", | ||
"sideEffects": false, | ||
@@ -13,14 +13,2 @@ "main": "dist/cjs/index.js", | ||
}, | ||
"scripts": { | ||
"build": "pnpm run build:cjs && pnpm run build:es && pnpm run build:dt", | ||
"build:cjs": "NODE_ENV=production BABEL_ENV=cjs babel --extensions \".ts,.tsx\" ./src --out-dir ./dist/cjs", | ||
"build:es": "NODE_ENV=production BABEL_ENV=es babel --extensions \".ts,.tsx\" ./src --out-dir ./dist/es", | ||
"build:dt": "tsc -p tsconfig.declarations.json --emitDeclarationOnly", | ||
"prepublishOnly": "rimraf dist && pnpm run typecheck && pnpm run test && pnpm run build", | ||
"prepack": "big-design-prepack", | ||
"postpack": "big-design-postpack", | ||
"test": "jest", | ||
"test:watch": "pnpm run test --watch", | ||
"typecheck": "tsc --noEmit" | ||
}, | ||
"files": [ | ||
@@ -30,7 +18,5 @@ "dist" | ||
"publishConfig": { | ||
"access": "public", | ||
"main": "dist/cjs/index.js", | ||
"module": "dist/es/index.js", | ||
"typings": "dist/index.d.ts" | ||
"access": "public" | ||
}, | ||
"prettier": "@bigcommerce/eslint-config/prettier", | ||
"dependencies": { | ||
@@ -49,6 +35,5 @@ "@babel/runtime": "^7.24.4", | ||
"@babel/plugin-transform-runtime": "^7.24.3", | ||
"@babel/preset-env": "^7.24.4", | ||
"@babel/preset-env": "^7.25.3", | ||
"@babel/preset-react": "^7.24.7", | ||
"@babel/preset-typescript": "^7.24.7", | ||
"@bigcommerce/configs": "^1.0.1", | ||
"@bigcommerce/pack": "^0.2.0", | ||
@@ -69,10 +54,19 @@ "@styled/typescript-styled-plugin": "^1.0.1", | ||
"react-dom": "^18.2.0", | ||
"rimraf": "^5.0.0", | ||
"styled-components": "^5.3.11", | ||
"typescript": "^5.4.5" | ||
"typescript": "^5.4.5", | ||
"@bigcommerce/configs": "^1.0.1" | ||
}, | ||
"gitHead": "662b18b223419ab6c8ec2f0dbad39cd9d70b2c7e", | ||
"access": "public", | ||
"module": "dist/es/index.js", | ||
"typings": "dist/index.d.ts" | ||
"typings": "dist/index.d.ts", | ||
"scripts": { | ||
"build": "pnpm run build:cjs && pnpm run build:es && pnpm run build:dt", | ||
"build:cjs": "NODE_ENV=production BABEL_ENV=cjs babel --extensions \".ts,.tsx\" ./src --out-dir ./dist/cjs", | ||
"build:es": "NODE_ENV=production BABEL_ENV=es babel --extensions \".ts,.tsx\" ./src --out-dir ./dist/es", | ||
"build:dt": "tsc -p tsconfig.declarations.json --emitDeclarationOnly", | ||
"lint": "eslint . --max-warnings 0", | ||
"test": "jest", | ||
"test:watch": "pnpm run test --watch", | ||
"typecheck": "tsc --noEmit" | ||
} | ||
} |
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
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
61624
24
943