1
0
Fork 0
Commit graph

9215 commits

Author SHA1 Message Date
joostdecock
40137c8f00 chore: Ported Albert 2024-10-06 12:03:08 +02:00
joostdecock
a4b184325a wip: Work on design docs 2024-10-06 11:49:14 +02:00
Jonathan Haas
4346137a0e Fix typos in jsdoc 2024-10-03 13:02:59 +02:00
Jonathan Haas
4b83212f41 Fix and improve path intersection methods
- Add path.intersectsBeam() method
- Add utils.beamIntersectsLine() method
- Simplify calculation and improve precision on beam intersections
- Document return types properly
- beamIntersectsCurve now uses the proper function from Bezier library instead of emulating it by constructing a huge line
- docs: path.intersect... methods never return false, they simply return an empty array in case of no intersection
2024-10-03 11:37:55 +02:00
Joost De Cock
fad84d86a7
Merge pull request #7129 from freesewing/devdocu
chore: Port FreeSewing.dev to docusaurus
2024-09-28 15:25:47 +02:00
Joost De Cock
f85bea933a chore: Remove test code 2024-09-28 15:03:42 +02:00
Joost De Cock
aacea9ddfe chore: Linter warnings 2024-09-28 14:55:33 +02:00
Joost De Cock
ab3204f9f1 chore: Port FreeSewing.dev to docusaurus
The replaces the NextJS site powering FreeSewing.dev with a Docusaurus
setup. It's part of my efforts to simplify FreeSewing's setup so we can
focus on our core value proposition.
2024-09-28 13:13:48 +02:00
dependabot[bot]
6f0b421c5e
chore(deps): bump axios in /packages/react-components
Bumps [axios](https://github.com/axios/axios) from 1.6.8 to 1.7.4.
- [Release notes](https://github.com/axios/axios/releases)
- [Changelog](https://github.com/axios/axios/blob/v1.x/CHANGELOG.md)
- [Commits](https://github.com/axios/axios/compare/v1.6.8...v1.7.4)

---
updated-dependencies:
- dependency-name: axios
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-09-15 13:30:10 +00:00
Joost De Cock
adefbe7d18
feat: New pattern editor (#7080)
This is not exactly finished or ready for prime-time, but I do feel that leaving it in a feature branch longer will only cause the spread between the `develop` branch and this to grow.

Given that I've taken care to not break the current site, I plan to merge this and then keep polishing things.

Some views are not implemented yet, and overall there's a need to polish to limit the amount of re-renders and improve performance.
2024-09-15 15:29:30 +02:00
Joost De Cock
38e11f50fc
Merge pull request #7033 from freesewing/dependabot/npm_and_yarn/mocha-10.7.3
chore(deps-dev): bump mocha from 10.7.0 to 10.7.3
2024-09-10 18:57:44 +02:00
Benjamin Fan
6192c42485 fix(new-design): Two typos in the CLI 2024-08-27 08:56:08 -07:00
dependabot[bot]
d547ba9fb5
chore(deps-dev): bump mocha from 10.7.0 to 10.7.3
Bumps [mocha](https://github.com/mochajs/mocha) from 10.7.0 to 10.7.3.
- [Release notes](https://github.com/mochajs/mocha/releases)
- [Changelog](https://github.com/mochajs/mocha/blob/main/CHANGELOG.md)
- [Commits](https://github.com/mochajs/mocha/compare/v10.7.0...v10.7.3)

---
updated-dependencies:
- dependency-name: mocha
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-08-26 04:27:11 +00:00
dependabot[bot]
1a46a2e030
chore(deps): bump execa from 9.3.0 to 9.3.1
Bumps [execa](https://github.com/sindresorhus/execa) from 9.3.0 to 9.3.1.
- [Release notes](https://github.com/sindresorhus/execa/releases)
- [Commits](https://github.com/sindresorhus/execa/compare/v9.3.0...v9.3.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-08-21 04:32:56 +00:00
dependabot[bot]
3ed5789cf0
chore(deps): bump axios from 1.7.3 to 1.7.4
Bumps [axios](https://github.com/axios/axios) from 1.7.3 to 1.7.4.
- [Release notes](https://github.com/axios/axios/releases)
- [Changelog](https://github.com/axios/axios/blob/v1.x/CHANGELOG.md)
- [Commits](https://github.com/axios/axios/compare/v1.7.3...v1.7.4)

---
updated-dependencies:
- dependency-name: axios
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-08-14 19:17:37 +00:00
dependabot[bot]
7b17f4c9a4
chore(deps): bump axios from 1.7.2 to 1.7.3
Bumps [axios](https://github.com/axios/axios) from 1.7.2 to 1.7.3.
- [Release notes](https://github.com/axios/axios/releases)
- [Changelog](https://github.com/axios/axios/blob/v1.x/CHANGELOG.md)
- [Commits](https://github.com/axios/axios/compare/v1.7.2...v1.7.3)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-08-02 04:21:24 +00:00
dependabot[bot]
4c571a5e0e
chore(deps-dev): bump mocha from 10.6.0 to 10.7.0
Bumps [mocha](https://github.com/mochajs/mocha) from 10.6.0 to 10.7.0.
- [Release notes](https://github.com/mochajs/mocha/releases)
- [Changelog](https://github.com/mochajs/mocha/blob/main/CHANGELOG.md)
- [Commits](https://github.com/mochajs/mocha/compare/v10.6.0...v10.7.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-07-24 04:16:53 +00:00
Joost De Cock
e8482185ff
Merge pull request #6955 from HaasJona/add/circleSegment
Add path.circleSegment() function
2024-07-14 16:12:29 +02:00
Jonathan Haas
55e776db2c add unit tests for circleSegment method 2024-07-12 07:29:11 +02:00
Jonathan Haas
dd1b4f1a14 feature(core): add path.circleSegment() method and documentation 2024-07-11 18:38:04 +02:00
dependabot[bot]
4efd978b21
chore(deps-dev): bump mocha from 10.5.2 to 10.6.0
Bumps [mocha](https://github.com/mochajs/mocha) from 10.5.2 to 10.6.0.
- [Release notes](https://github.com/mochajs/mocha/releases)
- [Changelog](https://github.com/mochajs/mocha/blob/main/CHANGELOG.md)
- [Commits](https://github.com/mochajs/mocha/compare/v10.5.2...v10.6.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-07-05 04:33:05 +00:00
Jonathan Haas
1ee4864761 fix(core): Fix typo in path.clean() method 2024-07-02 18:41:18 +02:00
dependabot[bot]
b8813079c8
chore(deps-dev): bump mocha from 10.5.0 to 10.5.2
Bumps [mocha](https://github.com/mochajs/mocha) from 10.5.0 to 10.5.2.
- [Release notes](https://github.com/mochajs/mocha/releases)
- [Changelog](https://github.com/mochajs/mocha/blob/main/CHANGELOG.md)
- [Commits](https://github.com/mochajs/mocha/compare/v10.5.0...v10.5.2)

---
updated-dependencies:
- dependency-name: mocha
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-06-27 04:50:38 +00:00
dependabot[bot]
a690e8f8e2
chore(deps): bump execa from 9.2.0 to 9.3.0
Bumps [execa](https://github.com/sindresorhus/execa) from 9.2.0 to 9.3.0.
- [Release notes](https://github.com/sindresorhus/execa/releases)
- [Commits](https://github.com/sindresorhus/execa/compare/v9.2.0...v9.3.0)

---
updated-dependencies:
- dependency-name: execa
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-06-26 04:17:51 +00:00
dependabot[bot]
af8bcbf1fc
chore(deps-dev): bump mocha from 10.4.0 to 10.5.0
Bumps [mocha](https://github.com/mochajs/mocha) from 10.4.0 to 10.5.0.
- [Release notes](https://github.com/mochajs/mocha/releases)
- [Changelog](https://github.com/mochajs/mocha/blob/main/CHANGELOG.md)
- [Commits](https://github.com/mochajs/mocha/compare/v10.4.0...v10.5.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-06-25 04:35:58 +00:00
joostdecock
9718d9580b chore: Update dependencies and contributors 2024-06-12 15:25:33 +02:00
Joost De Cock
ebfd10d2eb
Merge pull request #6768 from freesewing/dependabot/npm_and_yarn/sinon-18.0.0
chore(deps-dev): Bump sinon from 17.0.2 to 18.0.0
2024-06-12 15:09:51 +02:00
Joost De Cock
e2a8e85ba2
Merge pull request #6778 from jlvandenhout/fix/check-only-text-elements
fix(rehype-jargon): Ignore `em` elements that contain nested elements
2024-06-12 15:01:08 +02:00
Joost De Cock
fcbbf2b498
Merge pull request #6837 from freesewing/issue-6816
fix(core): Handle path splits on start or end points
2024-06-12 14:57:40 +02:00
joostdecock
eded9e9d3a fix(core): Handle path splits on start or end points
In some edge cases, like when splitting a path on or very close to its
start or end point, `Path.split()` will return an array in which one of
the elements is not a Path object, but rather an empty array.

That is rather combersome to check for, so this changes that behaviour
and will return null for such cases.

I've also updated the documentation to clarify this behaviour.

Fixes #6816

This also fixes a bug when a path was being split on its end point.
2024-06-12 13:24:42 +02:00
dependabot[bot]
72baf4669f
chore(deps): bump execa from 9.0.2 to 9.2.0
Bumps [execa](https://github.com/sindresorhus/execa) from 9.0.2 to 9.2.0.
- [Release notes](https://github.com/sindresorhus/execa/releases)
- [Commits](https://github.com/sindresorhus/execa/compare/v9.0.2...v9.2.0)

---
updated-dependencies:
- dependency-name: execa
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-06-07 04:41:44 +00:00
dependabot[bot]
db5ecd1eac
chore(deps-dev): Bump sinon from 17.0.2 to 18.0.0
Bumps [sinon](https://github.com/sinonjs/sinon) from 17.0.2 to 18.0.0.
- [Release notes](https://github.com/sinonjs/sinon/releases)
- [Changelog](https://github.com/sinonjs/sinon/blob/main/docs/changelog.md)
- [Commits](https://github.com/sinonjs/sinon/compare/v17.0.2...v18.0.0)

---
updated-dependencies:
- dependency-name: sinon
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-05-23 16:05:08 +00:00
dependabot[bot]
deb56f565d
---
updated-dependencies:
- dependency-name: axios
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-05-22 04:15:10 +00:00
dependabot[bot]
b1fb3d7743
---
updated-dependencies:
- dependency-name: axios
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-05-21 04:29:05 +00:00
Jeroen van den Hout
4d6233b4bc
check if node only contains text nodes 2024-05-17 22:59:50 +02:00
dependabot[bot]
e0420f423d
chore(deps): Bump execa from 9.0.1 to 9.0.2
Bumps [execa](https://github.com/sindresorhus/execa) from 9.0.1 to 9.0.2.
- [Release notes](https://github.com/sindresorhus/execa/releases)
- [Commits](https://github.com/sindresorhus/execa/compare/v9.0.1...v9.0.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-05-13 04:21:12 +00:00
joostdecock
21f386f56e prerelease: v3.3.0-rc.1 2024-05-11 17:30:26 +02:00
joostdecock
0842b0411a chore: Update dependencies and prebuild artifacts 2024-05-11 17:08:05 +02:00
Joost De Cock
9efdcf4d26
Merge pull request #6730 from freesewing/dependabot/npm_and_yarn/execa-9.0.1
chore(deps): Bump execa from 8.0.1 to 9.0.1
2024-05-11 16:56:54 +02:00
dependabot[bot]
51c00db10e
chore(deps): Bump execa from 8.0.1 to 9.0.1
Bumps [execa](https://github.com/sindresorhus/execa) from 8.0.1 to 9.0.1.
- [Release notes](https://github.com/sindresorhus/execa/releases)
- [Commits](https://github.com/sindresorhus/execa/compare/v8.0.1...v9.0.1)

---
updated-dependencies:
- dependency-name: execa
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-05-10 05:02:10 +00:00
dependabot[bot]
6ff2f8d4b6
chore(deps-dev): Bump chai from 5.1.0 to 5.1.1
Bumps [chai](https://github.com/chaijs/chai) from 5.1.0 to 5.1.1.
- [Release notes](https://github.com/chaijs/chai/releases)
- [Changelog](https://github.com/chaijs/chai/blob/main/History.md)
- [Commits](https://github.com/chaijs/chai/compare/v5.1.0...v5.1.1)

---
updated-dependencies:
- dependency-name: chai
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-05-10 05:00:32 +00:00
joostdecock
1b2167aad1 chore: Dependencies and prebuild artifacts update 2024-05-04 17:05:28 +02:00
Joost De Cock
b4a1216a5c
Merge branch 'develop' into jane 2024-05-04 16:40:24 +02:00
joostdecock
13a390e707 chore: Merged in cleaned up lily branch 2024-05-04 16:23:03 +02:00
dependabot[bot]
73662ab39f
chore(deps-dev): Bump mocha from 10.3.0 to 10.4.0
Bumps [mocha](https://github.com/mochajs/mocha) from 10.3.0 to 10.4.0.
- [Release notes](https://github.com/mochajs/mocha/releases)
- [Changelog](https://github.com/mochajs/mocha/blob/master/CHANGELOG.md)
- [Commits](https://github.com/mochajs/mocha/compare/v10.3.0...v10.4.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-04-29 17:23:44 +00:00
joostdecock
9b182bc056 fix(org): React dependency issue 2024-04-28 16:58:06 +02:00
joostdecock
aaf4e04fd1 chore: Dependency updates 2024-04-27 16:12:28 +02:00
joostdecock
6ca891ae6f chore: Update dependencies and contributors 2024-04-27 15:29:01 +02:00
Joost De Cock
f82ebd97d8
Merge pull request #6558 from HaasJona/add/path-angle
add(core): Add Path.angleAt(point) method
2024-04-18 19:02:26 +02:00
Jonathan Haas
ed608b52a0
Add documentation and rename method 2024-04-18 10:53:30 +02:00