🐛 Added bandLength option to optionGroup in Benjamin config
This commit is contained in:
parent
1a4d1d76cb
commit
2dce1c3ffd
2 changed files with 22 additions and 20 deletions
|
@ -10,6 +10,8 @@ Unreleased:
|
||||||
Deprecated:
|
Deprecated:
|
||||||
Removed:
|
Removed:
|
||||||
Fixed:
|
Fixed:
|
||||||
|
benjamin:
|
||||||
|
- Added bandLength option to fit optiongroup (it was missing)
|
||||||
css-theme:
|
css-theme:
|
||||||
- Updated styles for DraftConfigurator component for pattern options 3 levels deep
|
- Updated styles for DraftConfigurator component for pattern options 3 levels deep
|
||||||
components:
|
components:
|
||||||
|
|
|
@ -1,27 +1,27 @@
|
||||||
import { version } from "../package.json";
|
import { version } from '../package.json'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: "benjamin",
|
name: 'benjamin',
|
||||||
version: version,
|
version: version,
|
||||||
design: "Wouter Van Wageningen",
|
design: 'Wouter Van Wageningen',
|
||||||
code: "Wouter Van Wageningen",
|
code: 'Wouter Van Wageningen',
|
||||||
department: "accessories",
|
department: 'accessories',
|
||||||
type: "pattern",
|
type: 'pattern',
|
||||||
difficulty: 3,
|
difficulty: 3,
|
||||||
tags: ["top", "basics"],
|
tags: ['top', 'basics'],
|
||||||
optionGroups: {
|
optionGroups: {
|
||||||
fit: ["collarEase", "adjustmentRibbon"],
|
fit: ['collarEase', 'adjustmentRibbon', 'bandLength'],
|
||||||
style: ["tipWidth", "knotWidth", "bowLength", "bowStyle", "endStyle"]
|
style: ['tipWidth', 'knotWidth', 'bowLength', 'bowStyle', 'endStyle']
|
||||||
},
|
},
|
||||||
measurements: ["neckCircumference"],
|
measurements: ['neckCircumference'],
|
||||||
dependencies: {},
|
dependencies: {},
|
||||||
inject: {
|
inject: {
|
||||||
bow1: "base",
|
bow1: 'base',
|
||||||
bow2: "base",
|
bow2: 'base',
|
||||||
bow3: "base"
|
bow3: 'base'
|
||||||
},
|
},
|
||||||
hide: ["base"],
|
hide: ['base'],
|
||||||
parts: ["ribbon"],
|
parts: ['ribbon'],
|
||||||
options: {
|
options: {
|
||||||
transitionLength: 0.7, // 70% of bandLength
|
transitionLength: 0.7, // 70% of bandLength
|
||||||
bandLength: {
|
bandLength: {
|
||||||
|
@ -55,13 +55,13 @@ export default {
|
||||||
max: 6
|
max: 6
|
||||||
},
|
},
|
||||||
bowStyle: {
|
bowStyle: {
|
||||||
dflt: "butterfly",
|
dflt: 'butterfly',
|
||||||
list: ["diamond", "butterfly", "square", "widesquare"]
|
list: ['diamond', 'butterfly', 'square', 'widesquare']
|
||||||
},
|
},
|
||||||
endStyle: {
|
endStyle: {
|
||||||
dflt: "straight",
|
dflt: 'straight',
|
||||||
list: ["straight", "pointed", "rounded"]
|
list: ['straight', 'pointed', 'rounded']
|
||||||
},
|
},
|
||||||
adjustmentRibbon: { bool: false }
|
adjustmentRibbon: { bool: false }
|
||||||
}
|
}
|
||||||
};
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue