1
0
Fork 0
Commit graph

906 commits

Author SHA1 Message Date
dependabot[bot]
ff2dcbf13e
chore(deps-dev): bump eslint from 8.44.0 to 8.45.0
Bumps [eslint](https://github.com/eslint/eslint) from 8.44.0 to 8.45.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v8.44.0...v8.45.0)

---
updated-dependencies:
- dependency-name: eslint
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-18 04:27:17 +00:00
dependabot[bot]
7366886ae5
chore(deps): bump bezier-js from 6.1.3 to 6.1.4
Bumps [bezier-js](https://github.com/Pomax/bezierjs) from 6.1.3 to 6.1.4.
- [Commits](https://github.com/Pomax/bezierjs/compare/v6.1.3...v6.1.4)

---
updated-dependencies:
- dependency-name: bezier-js
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-17 05:00:30 +00:00
dependabot[bot]
9490b827db
Bump eslint from 8.43.0 to 8.44.0
Bumps [eslint](https://github.com/eslint/eslint) from 8.43.0 to 8.44.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v8.43.0...v8.44.0)

---
updated-dependencies:
- dependency-name: eslint
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-12 04:08:41 +00:00
github-actions
7635c63b65 [dependabot skip] chore(deps): bumped dependabot/npm_and_yarn/nodemon-3.0.1 changes in config/dependencies.yaml 2023-07-10 04:53:22 +00:00
Joost De Cock
744174aa63
Merge pull request #4386 from freesewing/dependabot/npm_and_yarn/eslint-8.44.0
chore(deps-dev): bump eslint from 8.43.0 to 8.44.0
2023-07-08 16:56:36 +02:00
dependabot[bot]
52c6a5e9f9
chore(deps-dev): bump eslint from 8.43.0 to 8.44.0
Bumps [eslint](https://github.com/eslint/eslint) from 8.43.0 to 8.44.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v8.43.0...v8.44.0)

---
updated-dependencies:
- dependency-name: eslint
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-04 10:36:07 +00:00
joostdecock
8713993242 feat(core): Pass pattern to insertText hook 2023-07-02 19:40:43 +02:00
joostdecock
8fde32950c fix(core): Make mergeI18n methos more robust 2023-07-02 13:50:46 +02:00
joostdecock
fe61e85fa9 Merge branch 'develop' into i18n3 2023-06-26 18:50:52 +02:00
dependabot[bot]
c6dd447d07
chore(deps-dev): bump eslint from 8.42.0 to 8.43.0
Bumps [eslint](https://github.com/eslint/eslint) from 8.42.0 to 8.43.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v8.42.0...v8.43.0)

---
updated-dependencies:
- dependency-name: eslint
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-26 05:10:58 +00:00
joostdecock
714c4ae368 feat(core): Added snippet.scale() and snippet.rotate() methods 2023-06-21 11:46:35 +02:00
Enoch Riese
64bffa5ff9 fix (designs) add missing measurements to design configs 2023-06-20 18:18:39 -05:00
joostdecock
73dc20e1d2 fix(core): Make mergeI18n options optional 2023-06-17 20:15:33 +02:00
Joost De Cock
1264a07afe
Merge branch 'develop' into i18n3 2023-06-17 20:11:44 +02:00
joostdecock
8be9f395e8 fix(sanity): Add missing dependency 2023-06-16 18:39:38 +02:00
joostdecock
01e2d4e41a Merge branch 'develop' into joost 2023-06-12 18:22:14 +02:00
joostdecock
c5753abdc0 feat(core): Allow toAbs for non-snapped values too 2023-06-11 18:04:49 +02:00
joostdecock
631ea8a50d feat(core): New mergeOptions method and passing mergedOtions to toAbs
When using toAbs for all but the most trivial cases, one needs access to
the options. Unlike measurements which are always there, options aren't
always set since they are only set when they differ from the default.

This would shift a lot of responsibility on the pattern designer who
would have to check whether an option is set, and if it's not use the
default which in turn depends on what type of an option it is (and it's
pct for example you have to remember to divide it by 100 and so on).

This feels footgun-y so instead I've added a `mergeOptions` method that
merges the options passed by the user with the defaults from the pattern
config so that you have a simple object with all option values.

This should get passed to `toAbs()` as the 3rd parameter.
2023-06-11 14:16:07 +02:00
joostdecock
c1fdf83088 feat(core): Consistent debug output style 2023-06-11 09:41:32 +02:00
joostdecock
46f547eb14 feat(core): Log message formatting improvements 2023-06-11 09:36:16 +02:00
joostdecock
88f74a4e5e feat(core): better log message formatting 2023-06-11 09:30:53 +02:00
joostdecock
66841b6a7f feat(core): Added new translation proposal for designs 2023-06-09 20:44:19 +02:00
Joost De Cock
62c7978e26
Merge pull request #4201 from freesewing/joost
wip(shared): Adding the pattern inspector
2023-06-08 19:21:06 +02:00
joostdecock
b174eff5f8 fix(core): Allow paperless to be truthy 2023-06-05 18:39:50 +02:00
dependabot[bot]
4ab92710ed
chore(deps-dev): bump eslint from 8.41.0 to 8.42.0
Bumps [eslint](https://github.com/eslint/eslint) from 8.41.0 to 8.42.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v8.41.0...v8.42.0)

---
updated-dependencies:
- dependency-name: eslint
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-05 05:01:14 +00:00
joostdecock
ab6511f4b9 chore(core): Cleaned up renderprops 2023-06-04 16:52:02 +02:00
joostdecock
982b3984b8 feat(core): Added support for renderProps in defs 2023-06-04 16:44:38 +02:00
joostdecock
a2800dddda feat(core): Added Pattern.getLogs() and updated Pattern.getRenderProps()
The data returned by `Pattern.getRenderProps()` was not serializable as
we were returning `this` all over the place, thereby including marcors,
log methods, cyclic object references, and so on.

This commit changes that by implementing a `.asRenderProp()` method on
all of the various objects (stack, part, path, point, snippet,
attributes, svg) and only including data that can be serialized.

In addition, we no longer include the logs in the renderProps because
they are not related to rendering the pattern.
Instead, the new method `Pattern.getLogs()` gives you the logs.
2023-06-01 16:45:13 +02:00
Joost De Cock
7cd9d43a23
Merge pull request #4108 from eriese/eriese-part-priority
fix (core) draft after dependencies before from dependencies
2023-05-23 17:26:44 +02:00
Enoch Riese
cc143153b2 fix (core) resolve after depenndencies before from dependencies 2023-05-22 16:16:05 -05:00
dependabot[bot]
41ec594b36
Bump eslint from 8.40.0 to 8.41.0
Bumps [eslint](https://github.com/eslint/eslint) from 8.40.0 to 8.41.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v8.40.0...v8.41.0)

---
updated-dependencies:
- dependency-name: eslint
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-05-22 05:08:13 +00:00
joostdecock
92e8c6fdca chore(core): Code QA fixes 2023-05-19 10:34:51 +02:00
Joost De Cock
57138f9ef6
Merge pull request #4013 from BenJamesBen/unknown-macro-warning
fix(core): (part) Add warning message if invalid macro name used
2023-05-10 13:45:22 +02:00
Joost De Cock
9cea67a7dc
Merge pull request #4016 from freesewing/dependabot/npm_and_yarn/eslint-8.40.0
chore(deps-dev): bump eslint from 8.39.0 to 8.40.0
2023-05-09 19:31:55 +02:00
Enoch Riese
837b86368d 🔖 v3.0.0-alpha.10 2023-05-08 01:34:29 -05:00
dependabot[bot]
a6c2aa7653
chore(deps-dev): bump eslint from 8.39.0 to 8.40.0
Bumps [eslint](https://github.com/eslint/eslint) from 8.39.0 to 8.40.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v8.39.0...v8.40.0)

---
updated-dependencies:
- dependency-name: eslint
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-05-08 05:04:50 +00:00
Benjamin F
8ecb2cfcec fix(core): (part) Allow existing unknown macro test to pass 2023-05-07 13:51:59 -07:00
Benjamin F
b46d3ac67e fix(core): (part) Added warning message if invalid macro name used 2023-05-07 13:15:54 -07:00
Joost De Cock
92a51ec163
Merge pull request #3964 from eriese/eriese-3957
fixes #3957 Re-use existing part for out-of-cycle draft
2023-05-03 15:39:27 +02:00
Joost De Cock
f5f4acaad2
Merge pull request #3863 from freesewing/snippets
Allow `defs` in the `svg` to be overwritten.
2023-05-02 20:03:33 +02:00
Enoch Riese
282696f1cd fixes #3957 re-use existing part for out-of-cycle draft 2023-05-02 12:25:04 -05:00
Joost De Cock
7aed296564
Merge pull request #3931 from freesewing/beamIntersectsCurve
utils.beamIntersectsCurve()
2023-04-29 20:10:14 +02:00
Enoch Riese
c65c08432a don't rely on browsers to compute transforms in layouting 2023-04-28 15:46:33 -04:00
Wouter van Wageningen
a5f141a586 Docs and code cleanup 2023-04-28 18:26:55 +00:00
Wouter van Wageningen
68c0fca124 Code and tests 2023-04-28 16:42:35 +00:00
Wouter van Wageningen
e9ab680c53
Merge pull request #3919 from freesewing/develop
Get up to date with develop
2023-04-26 23:24:53 -07:00
dependabot[bot]
25ac25eb03
chore(deps-dev): bump eslint from 8.38.0 to 8.39.0
Bumps [eslint](https://github.com/eslint/eslint) from 8.38.0 to 8.39.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v8.38.0...v8.39.0)

---
updated-dependencies:
- dependency-name: eslint
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-25 05:22:16 +00:00
Joost De Cock
f47047249d
Merge pull request #3835 from eriese/eriese-core-refactor
refactor (core) separate various Pattern concerns into helper classes
2023-04-24 08:41:45 +02:00
Wouter van Wageningen
e7ce509762 Added test for clone() 2023-04-21 13:48:18 +00:00
Wouter van Wageningen
8887a97dd2 @eriese recommendations 2023-04-21 03:48:37 +00:00