🔧 Reconfigure packages
This commit is contained in:
parent
5997fcba2f
commit
d3a1ea6554
31 changed files with 2005 additions and 846 deletions
|
@ -26,28 +26,17 @@ export default {
|
|||
box: ["size"]
|
||||
},
|
||||
measurements: ["headCircumference"],
|
||||
dependencies: {
|
||||
step4: "step3"
|
||||
//step5: "step4",
|
||||
//step6: "step5",
|
||||
//step7: "step6",
|
||||
//step8: "step7",
|
||||
//step9: "step8",
|
||||
//step10: "step9",
|
||||
//step11: "step10"
|
||||
},
|
||||
inject: {
|
||||
step4: "step3"
|
||||
//step5: "step4",
|
||||
//step6: "step5",
|
||||
//step7: "step6",
|
||||
//step8: "step7",
|
||||
//step9: "step8",
|
||||
//step10: "step9",
|
||||
//step11: "step10"
|
||||
step4: "step3",
|
||||
step5: "step4",
|
||||
step6: "step5",
|
||||
step7: "step6",
|
||||
step8: "step7",
|
||||
step9: "step8",
|
||||
step10: "step9",
|
||||
step11: "step10"
|
||||
},
|
||||
hide: [],
|
||||
parts: ["step1", "step2", "step3"],
|
||||
parts: ["step1", "step2"],
|
||||
options: {
|
||||
size: { pct: 50, min: 10, max: 100 },
|
||||
neckRatio: { pct: 80, min: 70, max: 90 },
|
||||
|
|
|
@ -5,7 +5,7 @@ import "typeface-roboto-condensed";
|
|||
import "@freesewing/css-theme";
|
||||
|
||||
import Pattern from "pattern";
|
||||
|
||||
console.log(Pattern);
|
||||
const App = props => {
|
||||
let instance = new Pattern();
|
||||
let config = instance.config;
|
||||
|
|
|
@ -47,7 +47,6 @@
|
|||
"babel-jest": "24.7.1",
|
||||
"jest": "24.7.1",
|
||||
"@freesewing/components": "^2.0.0-beta.12",
|
||||
"@freesewing/rendertest": "^2.0.0-beta.12",
|
||||
"@freesewing/css-theme": "^2.0.0-beta.12",
|
||||
"@freesewing/i18n": "^2.0.0-beta.12",
|
||||
"@freesewing/mui-theme": "^2.0.0-beta.12",
|
||||
|
@ -70,9 +69,9 @@
|
|||
"rollup-plugin-peer-deps-external": "^2.2.0",
|
||||
"rollup-plugin-postcss": "^1.6.2",
|
||||
"rollup-plugin-url": "^1.4.0",
|
||||
"@material-ui/core": "3.9.3",
|
||||
"@material-ui/icons": "3.0.2",
|
||||
"@material-ui/lab": "3.0.0-alpha.30",
|
||||
"@material-ui/core": "4.0.1",
|
||||
"@material-ui/icons": "4.0.1",
|
||||
"@material-ui/lab": "^v4.0.0-alpha.14",
|
||||
"react-intl": "2.8.0",
|
||||
"prop-types": "15.7.2"
|
||||
},
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
export default function(part) {
|
||||
let { Point, points, Path, paths, measurements, options } = part.shorthand();
|
||||
|
||||
return part;
|
||||
let tweak = 1;
|
||||
let target = (measurements.headCircumference * options.neckRatio) / 4;
|
||||
let delta = Infinity;
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
export default function(part) {
|
||||
let { Point, points, Path, paths, measurements, options } = part.shorthand();
|
||||
|
||||
return part;
|
||||
points.rightCp2 = points.rightCp1.flipY();
|
||||
points.bottomCp1 = points.bottomCp2.flipX();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue