1
0
Fork 0
Commit graph

5221 commits

Author SHA1 Message Date
Joost De Cock
1a5b2769aa feat(components): Better snippet support in Draft component
The Draft react component would load the snippets that are part of our
plugin bundle. However, any additional snippets that are created by
plugins would not not get added to the `defs` section, and thus not
be rendered.

This changes the behavior by doing two things:

 - in `core` it adds an SVG object to the renderProps, and makes
   sure to run the `preRender` hook on this SVG object prior to
   returning the renderProps. This way, svg.defs now holds all
   defs, including any that may have been added by custom plugins
 - in the `Draft` component, we no longer add a list of predefined
   snippets to the defs section, but instead just use the svg.defs
   section verbatim. This removes any discrepancies in how SVG
   rendering and React rendering handles the defs section of the
   SVG document, and thus displays snippets.
2020-11-08 18:19:10 +01:00
Joost De Cock
106d536524 New translations settings.yml (German) 2020-11-07 23:35:25 +01:00
Joost De Cock
25724c81a5 New translations measurements.yaml (German) 2020-11-07 23:35:24 +01:00
Joost De Cock
9303382ac1 New translations cty.yaml (German) 2020-11-07 23:35:22 +01:00
Joost De Cock
808cd14a7f New translations cty.yaml (German) 2020-11-07 23:16:47 +01:00
Joost De Cock
385762e3c2 New translations teagan.yaml (German) 2020-11-07 23:16:46 +01:00
Joost De Cock
4914dad285 New translations title.yaml (German) 2020-11-07 23:16:44 +01:00
Joost De Cock
783f0c6095 New translations account.yaml (German) 2020-11-07 23:16:42 +01:00
Joost De Cock
e5861356c6 New translations paco.yml (German) 2020-11-07 23:16:41 +01:00
Joost De Cock
1f19977e58 New translations paco.yml (German) 2020-11-07 23:05:15 +01:00
Joost De Cock
d1c1fe0ae3 New translations paco.yml (German) 2020-11-07 22:54:50 +01:00
Joost De Cock
d493e30f30 chore: Publishing on pattern examples 2020-11-07 16:35:39 +01:00
Joost De Cock
0f333b8c38 chore: Reconfigure packages 2020-11-07 14:35:07 +01:00
Joost De Cock
e0415c9e32 release: Publish v2.10.2 2020-11-07 14:25:21 +01:00
Joost De Cock
32296c02f6 chore: Reconfigure packages 2020-11-07 12:40:17 +01:00
Joost De Cock
b79c67be56 release: Publish v2.10.1 2020-11-07 12:39:52 +01:00
Joost De Cock
324f2c9d37 chore: Switched to latest tag 2020-11-07 12:39:30 +01:00
Joost De Cock
34758a8690 fix: Core dependency 2020-11-07 12:38:57 +01:00
Joost De Cock
04686be3b3 refactor: Removed old CSS code 2020-11-07 12:36:58 +01:00
Joost De Cock
64644a2b18 chore: Peer dependencies for components 2020-11-06 07:34:46 +01:00
Joost De Cock
381fb39338 New translations paco.yml (German) 2020-11-05 13:49:36 +01:00
Joost De Cock
94d10a955e chore: Updated dependencies 2020-11-04 20:55:37 +01:00
Joost De Cock
995971dfaf chore: Reconfigure packages 2020-11-04 20:45:18 +01:00
Joost De Cock
99ebd4dd06 chore: Removed console.log statement 2020-11-04 20:29:14 +01:00
Joost De Cock
12692e1a64 chore: Changes required for ES6 version of bezier-js 2020-11-04 20:06:19 +01:00
Joost De Cock
5c014d8143
Merge pull request #532 from freesewing/dependabot/npm_and_yarn/ora-5.1.0
chore(deps): bump ora from 4.0.5 to 5.1.0
2020-11-04 19:04:47 +01:00
Joost De Cock
05de5d2bbe
Merge pull request #658 from freesewing/dependabot/npm_and_yarn/bezier-js-3.0.1
chore(deps): bump bezier-js from 2.6.1 to 3.0.1
2020-11-04 19:04:16 +01:00
Joost De Cock
3c836f7595
Merge pull request #665 from freesewing/dependabot/npm_and_yarn/webpack-5.3.2
chore(deps-dev): bump webpack from 4.44.1 to 5.3.2
2020-11-04 19:04:09 +01:00
Joost De Cock
081036a481
Merge pull request #506 from freesewing/dependabot/npm_and_yarn/rollup/plugin-node-resolve-9.0.0
chore(deps-dev): bump @rollup/plugin-node-resolve from 8.4.0 to 9.0.0
2020-11-04 18:53:47 +01:00
Joost De Cock
cd0033a94f fix: Issue with workbench when there's no measurements 2020-11-03 19:13:13 +01:00
dependabot-preview[bot]
9591588efe
chore(deps): bump ora from 4.0.5 to 5.1.0
Bumps [ora](https://github.com/sindresorhus/ora) from 4.0.5 to 5.1.0.
- [Release notes](https://github.com/sindresorhus/ora/releases)
- [Commits](https://github.com/sindresorhus/ora/compare/v4.0.5...v5.1.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-11-03 16:48:21 +00:00
Joost De Cock
2384c76386
Merge pull request #660 from freesewing/i18n
New Crowdin updates
2020-11-03 17:44:09 +01:00
dependabot-preview[bot]
07b9d344b7
chore(deps-dev): bump webpack from 4.44.1 to 5.3.2
Bumps [webpack](https://github.com/webpack/webpack) from 4.44.1 to 5.3.2.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v4.44.1...v5.3.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-11-03 04:54:09 +00:00
Joost De Cock
8c64b45ce8 New translations titan.yml (French) 2020-11-01 20:25:37 +01:00
Joost De Cock
379d6982b3 New translations titan.yml (French) 2020-11-01 20:15:24 +01:00
Joost De Cock
e766031993 New translations titan.yml (French) 2020-11-01 20:05:19 +01:00
Joost De Cock
ac10393733 New translations titan.yml (French) 2020-11-01 19:55:25 +01:00
Joost De Cock
e681b17a91 New translations hugo.yml (French) 2020-11-01 19:46:30 +01:00
Joost De Cock
89b31d401a New translations brian.yml (French) 2020-11-01 19:46:29 +01:00
Joost De Cock
38ced2c965 New translations breanna.yml (French) 2020-11-01 19:46:27 +01:00
Joost De Cock
34992d7f6a New translations paco.yml (French) 2020-11-01 18:35:32 +01:00
Joost De Cock
b15c3f9d87 New translations teagan.yml (French) 2020-11-01 18:35:31 +01:00
Joost De Cock
d47d9c11d7 New translations teagan.yml (French) 2020-11-01 18:26:53 +01:00
Joost De Cock
a5cdb5b67c New translations app.yaml (French) 2020-11-01 18:26:51 +01:00
Joost De Cock
4e1fcb0263 New translations cfp.yaml (French) 2020-11-01 18:26:49 +01:00
Joost De Cock
dc64474a3f New translations app.yaml (French) 2020-11-01 18:15:41 +01:00
Joost De Cock
decaee8c4d New translations account.yaml (French) 2020-11-01 18:15:39 +01:00
Joost De Cock
0e2ab57514 New translations breanna.yml (French) 2020-11-01 18:05:38 +01:00
Joost De Cock
01c51aee87 New translations breanna.yml (French) 2020-11-01 17:55:12 +01:00
Joost De Cock
c183793d32 New translations albert.yml (French) 2020-11-01 17:26:56 +01:00