breaking(snapseries): Renamed named exports
This commit is contained in:
parent
b12e869961
commit
46364dd03f
6 changed files with 17 additions and 6 deletions
|
@ -165,6 +165,13 @@
|
||||||
|
|
||||||
- This plugin no longer sets its version as an SVG attribute when rendering patterns
|
- This plugin no longer sets its version as an SVG attribute when rendering patterns
|
||||||
|
|
||||||
|
### snapseries
|
||||||
|
|
||||||
|
#### Breaking
|
||||||
|
|
||||||
|
- Named export `smallsteps` has been renamed to `smallSteps`
|
||||||
|
- Named export `bigsteps` has been renamed to `bigSteps`
|
||||||
|
|
||||||
|
|
||||||
## 2.22.0 (2022-08-23)
|
## 2.22.0 (2022-08-23)
|
||||||
|
|
||||||
|
|
|
@ -7,6 +7,9 @@ Unreleased:
|
||||||
NodeJS 16 or more recent is now required.
|
NodeJS 16 or more recent is now required.
|
||||||
plugin-gore:
|
plugin-gore:
|
||||||
- The `goreNumber` props is removed. Please use `gores` instead
|
- The `goreNumber` props is removed. Please use `gores` instead
|
||||||
|
snapseries:
|
||||||
|
- Named export `smallsteps` has been renamed to `smallSteps`
|
||||||
|
- Named export `bigsteps` has been renamed to `bigSteps`
|
||||||
|
|
||||||
Removed:
|
Removed:
|
||||||
global:
|
global:
|
||||||
|
|
|
@ -5,5 +5,6 @@
|
||||||
"models": "Body measurements data for a range of default sizes",
|
"models": "Body measurements data for a range of default sizes",
|
||||||
"new-design": "Initializer package for a new FreeSewing design: npx @freesewing/new-design",
|
"new-design": "Initializer package for a new FreeSewing design: npx @freesewing/new-design",
|
||||||
"prettier-config": "FreeSewing's shared configuration for prettier",
|
"prettier-config": "FreeSewing's shared configuration for prettier",
|
||||||
|
"snapseries": "A series of common sizes for elastics and other series to be used with snapped percentage options",
|
||||||
"rehype-jargon": "A Rehype plugin for jargon terms"
|
"rehype-jargon": "A Rehype plugin for jargon terms"
|
||||||
}
|
}
|
||||||
|
|
|
@ -48,7 +48,7 @@
|
||||||
|
|
||||||
# @freesewing/snapseries
|
# @freesewing/snapseries
|
||||||
|
|
||||||
A FreeSewing package to facilitate snapped percentage options in designs
|
A series of common sizes for elastics and other series to be used with snapped percentage options
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
{
|
{
|
||||||
"name": "@freesewing/snapseries",
|
"name": "@freesewing/snapseries",
|
||||||
"version": "3.0.0-alpha.0",
|
"version": "3.0.0-alpha.0",
|
||||||
"description": "A FreeSewing package to facilitate snapped percentage options in designs",
|
"description": "A series of common sizes for elastics and other series to be used with snapped percentage options",
|
||||||
"author": "Joost De Cock <joost@joost.at> (https://github.com/joostdecock)",
|
"author": "Joost De Cock <joost@joost.at> (https://github.com/joostdecock)",
|
||||||
"homepage": "https://freesewing.org/",
|
"homepage": "https://freesewing.org/",
|
||||||
"repository": "github:freesewing/freesewing",
|
"repository": "github:freesewing/freesewing",
|
||||||
|
|
|
@ -16,7 +16,7 @@ export const zippers = {
|
||||||
}
|
}
|
||||||
|
|
||||||
// Snap to small steps (~1mm)
|
// Snap to small steps (~1mm)
|
||||||
export const smallsteps = {
|
export const smallSteps = {
|
||||||
metric: 1,
|
metric: 1,
|
||||||
imperial: 0.79375, // 1/32 inch
|
imperial: 0.79375, // 1/32 inch
|
||||||
}
|
}
|
||||||
|
@ -28,7 +28,7 @@ export const steps = {
|
||||||
}
|
}
|
||||||
|
|
||||||
// Snap to big steps (~10mm)
|
// Snap to big steps (~10mm)
|
||||||
export const bigsteps = {
|
export const bigSteps = {
|
||||||
metric: 10,
|
metric: 10,
|
||||||
imperial: 12.7, // 1/2 inch
|
imperial: 12.7, // 1/2 inch
|
||||||
}
|
}
|
||||||
|
@ -37,7 +37,7 @@ export const bigsteps = {
|
||||||
export default {
|
export default {
|
||||||
elastics,
|
elastics,
|
||||||
zippers,
|
zippers,
|
||||||
smallsteps,
|
smallSteps,
|
||||||
steps,
|
steps,
|
||||||
bigsteps,
|
bigSteps,
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue