1
0
Fork 0
Commit graph

8790 commits

Author SHA1 Message Date
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
Joost De Cock
d4100b5542
Merge branch 'develop' into dependabot/npm_and_yarn/unist-util-remove-4.0.0 2023-07-10 19:56:19 +02:00
joostdecock
f3e5b8d987 Merge branch 'develop' into i18n 2023-07-10 08:27:20 +02: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
github-actions
32844c6568 [dependabot skip] chore(deps): bumped dependabot/npm_and_yarn/unist-util-remove-4.0.0 changes in config/dependencies.yaml 2023-07-10 04:47:49 +00:00
dependabot[bot]
bbd5024383
Bump unist-util-remove from 3.1.1 to 4.0.0
Bumps [unist-util-remove](https://github.com/syntax-tree/unist-util-remove) from 3.1.1 to 4.0.0.
- [Release notes](https://github.com/syntax-tree/unist-util-remove/releases)
- [Commits](https://github.com/syntax-tree/unist-util-remove/compare/3.1.1...4.0.0)

---
updated-dependencies:
- dependency-name: unist-util-remove
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-10 04:45:17 +00:00
Joost De Cock
af333e406e New translations en.json (Ukrainian)
[ci skip]
2023-07-09 21:35:21 +02:00
Joost De Cock
0f20c34d20 New translations en.json (German)
[ci skip]
2023-07-09 21:35:20 +02:00
Joost De Cock
8e4d08e495 New translations en.json (Spanish)
[ci skip]
2023-07-09 21:35:14 +02: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
d01236afb2 breaking(i18n): The @freesewing/i18n package is no more
This concludes the initial migration of our translation to the new v3
structure.

We no longer publish a `@freesewing/i18n` package with the translations
for our project, instead each design has a `i18n` names export that
holds the strings for that design.

The plugins still need to be ported, and `plugin-i18n` needs to be
adapted, but the main work is done.
2023-07-02 19:07:17 +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
9863ac21d8 fix(react-components): Bug in how defs is added 2023-06-24 10:39:09 +02: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
e8613c4e89 fix: linter warning 2023-06-17 13:47:37 +02:00
joostdecock
e35136e755 fix: Linter warnings 2023-06-17 13:44:08 +02:00
joostdecock
8450385602 fix(new-design): Don't rely on reconfigure for build 2023-06-17 13:40:48 +02:00
joostdecock
783e1fa683 chore: Linter warings 2023-06-17 13:28:17 +02:00
joostdecock
6da48ce4aa feat(react-components): Added PatternXray component 2023-06-17 13:20:05 +02:00
joostdecock
26f937db9d chore: Don't run reconfigure prior to build 2023-06-16 20:08:58 +02:00
Joost De Cock
fa2dee585c
Merge pull request #4293 from trentonTrama/fix/issue-4290/support-windows-paths-in-new-design
fix(new-design): Import using absolute identifier
2023-06-15 20:29:25 +02:00
Trenton Trama
141ed19a8f fix(new-design): Import using absolute identifier
Fixes #4290

Prepends `file://` schema during the import of template data to support
windows paths.
2023-06-15 11:07:40 -05: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
264a441c35 fix(shared): Check for text attributes before using them 2023-06-11 18:04:28 +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
fa0f643e4a
Merge branch 'develop' into undanger-defs 2023-06-09 18:20:26 +02:00
joostdecock
a99f14e7ac chore(react-components): Fix linter warning 2023-06-09 18:19:00 +02:00
joostdecock
f2bfcf81f2 fix(react-component): Removed backed up code 2023-06-08 20:38:02 +02:00
joostdecock
50f7df93bb fix(react-components): Avoid use of dangerouslySetInnerHTML in Defs 2023-06-08 20:29:52 +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
Enoch Riese
3503d97fae lint fixes for react-components 2023-06-07 10:06:30 -05:00
Joost De Cock
b7eae016ac
Merge branch 'joost' into eriese-export-view 2023-06-07 14:49:53 +02:00
Joost De Cock
7a77051b97
Merge branch 'joost' into eriese-edit-view 2023-06-07 14:47:18 +02:00
Enoch Riese
84687fbf3e yaml edit view in new ui 2023-06-06 16:58:59 -05:00
Enoch Riese
7210cc60cc implement export view in new UI 2023-06-06 15:20:07 -05:00
Enoch Riese
7988aa9b31 measurements sampling menu 2023-06-06 14:31:27 -05:00
Enoch Riese
5905e999a1 remove opinionated changes from react-components 2023-06-06 13:24:20 -05:00
Enoch Riese
15c4201906 cutting layout view 2023-06-06 11:17:14 -05:00