1
0
Fork 0

🐛 Added bandLength option to optionGroup in Benjamin config

This commit is contained in:
Joost De Cock 2019-09-06 15:53:11 +02:00
parent 1a4d1d76cb
commit 2dce1c3ffd
2 changed files with 22 additions and 20 deletions

View file

@ -10,6 +10,8 @@ Unreleased:
Deprecated:
Removed:
Fixed:
benjamin:
- Added bandLength option to fit optiongroup (it was missing)
css-theme:
- Updated styles for DraftConfigurator component for pattern options 3 levels deep
components:

View file

@ -1,27 +1,27 @@
import { version } from "../package.json";
import { version } from '../package.json'
export default {
name: "benjamin",
name: 'benjamin',
version: version,
design: "Wouter Van Wageningen",
code: "Wouter Van Wageningen",
department: "accessories",
type: "pattern",
design: 'Wouter Van Wageningen',
code: 'Wouter Van Wageningen',
department: 'accessories',
type: 'pattern',
difficulty: 3,
tags: ["top", "basics"],
tags: ['top', 'basics'],
optionGroups: {
fit: ["collarEase", "adjustmentRibbon"],
style: ["tipWidth", "knotWidth", "bowLength", "bowStyle", "endStyle"]
fit: ['collarEase', 'adjustmentRibbon', 'bandLength'],
style: ['tipWidth', 'knotWidth', 'bowLength', 'bowStyle', 'endStyle']
},
measurements: ["neckCircumference"],
measurements: ['neckCircumference'],
dependencies: {},
inject: {
bow1: "base",
bow2: "base",
bow3: "base"
bow1: 'base',
bow2: 'base',
bow3: 'base'
},
hide: ["base"],
parts: ["ribbon"],
hide: ['base'],
parts: ['ribbon'],
options: {
transitionLength: 0.7, // 70% of bandLength
bandLength: {
@ -55,13 +55,13 @@ export default {
max: 6
},
bowStyle: {
dflt: "butterfly",
list: ["diamond", "butterfly", "square", "widesquare"]
dflt: 'butterfly',
list: ['diamond', 'butterfly', 'square', 'widesquare']
},
endStyle: {
dflt: "straight",
list: ["straight", "pointed", "rounded"]
dflt: 'straight',
list: ['straight', 'pointed', 'rounded']
},
adjustmentRibbon: { bool: false }
}
};
}