Sidharth Vinod
5634c6ca1a
fix typedoc
2023-04-23 02:03:28 +05:30
renovate[bot]
e4bc3e2269
fix(deps): update all minor dependencies
2023-04-22 20:01:25 +00:00
Sidharth Vinod
a470407f02
Merge pull request #4327 from mermaid-js/renovate/start-server-and-test-2.x
...
chore(deps): update dependency start-server-and-test to v2
2023-04-23 01:30:16 +05:30
renovate[bot]
e6d11b9443
chore(deps): update dependency start-server-and-test to v2
2023-04-22 19:26:13 +00:00
Sidharth Vinod
c624cbb910
Merge pull request #4325 from mermaid-js/renovate/eslint-plugin-unicorn-46.x
...
chore(deps): update dependency eslint-plugin-unicorn to v46
2023-04-23 00:51:33 +05:30
Sidharth Vinod
b428c06bed
Merge pull request #4326 from mermaid-js/renovate/rimraf-5.x
...
chore(deps): update dependency rimraf to v5
2023-04-23 00:51:08 +05:30
Sidharth Vinod
9cbc3d6fb9
Merge pull request #4322 from mermaid-js/renovate/actions-deploy-pages-2.x
...
chore(deps): update actions/deploy-pages action to v2
2023-04-23 00:50:58 +05:30
renovate[bot]
f597f15f82
chore(deps): update dependency rimraf to v5
2023-04-22 18:53:56 +00:00
renovate[bot]
909c063a67
chore(deps): update dependency eslint-plugin-unicorn to v46
2023-04-22 18:51:50 +00:00
renovate[bot]
f93bac9dd4
chore(deps): update actions/deploy-pages action to v2
2023-04-22 18:49:44 +00:00
renovate[bot]
8cb3318d94
chore(deps): update dependency eslint-plugin-jsdoc to v43
2023-04-22 18:46:44 +00:00
Sidharth Vinod
cb1e8220a4
Merge pull request #4331 from mermaid-js/renovate/dompurify-3.x
...
fix(deps): update dependency dompurify to v3
2023-04-22 23:59:53 +05:30
Sidharth Vinod
49bb87e14a
Split docs into build and deploy
2023-04-22 23:59:33 +05:30
renovate[bot]
ddde451915
fix(deps): update dependency dompurify to v3
2023-04-22 08:28:31 +00:00
Sidharth Vinod
40d2682b14
Merge pull request #4323 from mermaid-js/renovate/concurrently-8.x
...
chore(deps): update dependency concurrently to v8
2023-04-22 13:53:05 +05:30
renovate[bot]
93eb72248a
chore(deps): update dependency concurrently to v8
2023-04-20 04:15:28 +00:00
Sidharth Vinod
6883a92672
Split renovate groups
2023-04-20 09:40:58 +05:30
Sidharth Vinod
2fe0a1360f
Upgrade vitepress
2023-04-20 09:35:28 +05:30
Sidharth Vinod
8e0f947d6c
Merge pull request #4304 from mermaid-js/renovate/patch-all-minor-patch
...
chore(deps): update pnpm to v7.30.5
2023-04-19 16:29:40 +05:30
renovate[bot]
411f868f22
chore(deps): update pnpm to v7.30.5
2023-04-19 07:00:59 +00:00
Sidharth Vinod
39f9277a73
Merge pull request #4316 from agentraghav/agentraghav-pie-chart-demos-fix
...
pie diagram mermaid module import fix
2023-04-19 12:25:59 +05:30
raghvendra
ff3104ad9c
pie diagram mermaid module import fix
2023-04-19 11:25:32 +05:30
sidharthv96
8dfad241c3
Update docs
2023-04-18 19:00:47 +00:00
Sidharth Vinod
44f6d11537
Merge pull request #4310 from Bogay/fix/escape-br-tag-in-flowchart-doc
...
docs(flowchart): wrap br tag by codeblock
2023-04-19 00:27:31 +05:30
Sidharth Vinod
698951c059
Merge pull request #4309 from dix/fix_doc_obsidian_link
...
fix(doc): Link to Obsidian doc/integration
2023-04-19 00:26:46 +05:30
bogay
b3959299bc
docs(flowchart): wrap br tag by codeblock
...
so that it can render `<br>` text on doc correctly.
2023-04-18 18:51:52 +08:00
dix
1d4fc5051e
fix(doc): Link to Obsidian doc/integration
2023-04-18 11:37:39 +02:00
Knut Sveidqvist
6ccdc2bd01
Fix for async handling flowchart-elk
2023-04-17 19:33:51 +02:00
Sidharth Vinod
01de155e3c
Merge pull request #4278 from lishid/patch-2
...
Fix git graph css bracket leak
2023-04-17 17:29:27 +05:30
Sidharth Vinod
0485999636
Merge pull request #4299 from eitsupi/patch-1
...
docs(integrations): list quarto
2023-04-17 17:26:53 +05:30
Sidharth Vinod
f638082ab4
Merge pull request #4297 from bish0polis/develop
...
Update bug_report.yml
2023-04-17 17:26:18 +05:30
eitsupi
432e8d6535
docs: reflect source changes
2023-04-15 17:01:51 +09:00
eitsupi
8c4fb6c753
docs(integrations): list quarto
2023-04-15 16:49:32 +09:00
Alois Klink
32538b5b03
Merge branch 'develop' into lishid/patch-2
...
The E2E tests are failing, but will probably be fixed by commit
9bb0cef8
(fix: wait for image rendering in nodes, 2023-03-30)
on the `develop` branch.
2023-04-14 02:09:22 +01:00
Bishop Clark
8aa51cf3e7
Update bug_report.yml
...
correct adjective order
2023-04-13 16:59:13 -07:00
Sidharth Vinod
32d553a28f
Merge pull request #4213 from remcohaszing/fix-node16-module-resolution
...
Support node16 module resolution
2023-04-13 21:03:27 +05:30
Remco Haszing
e84c5ec4c9
Fix broken tests
2023-04-13 15:13:52 +02:00
Remco Haszing
aa5c1a5f78
Merge branch 'develop' into fix-node16-module-resolution
2023-04-13 14:58:17 +02:00
Sidharth Vinod
d9ebb0d492
Merge pull request #4295 from aloisklink/test/test-styles
...
Fix and test a bunch of invalid CSS issues
2023-04-13 18:08:11 +05:30
Sidharth Vinod
634d6602b9
Merge pull request #4272 from slab/develop
...
Add Slab to the list of integrations
2023-04-13 18:05:24 +05:30
Sidharth Vinod
ea6f9c2d59
Merge pull request #4286 from legonigel/4195_arrow_end_size
...
Fix #4195 start and end arrow have different sizes
2023-04-13 15:05:56 +05:30
Sidharth Vinod
dda2c25d52
Merge pull request #4294 from onayiga/Documentation-edits
...
Update index.md
2023-04-13 15:04:28 +05:30
Zihua Li
d13b58bec8
Merge branch 'mermaid-js:develop' into develop
2023-04-13 16:00:01 +08:00
Alois Klink
b4164b6ab5
test: test that styles and themes return valid CSS
...
Test that `src/diagrams/*/styles.ts` module returns a valid
CSS stylesheet that can be parsed via [stylis][1] and then
becomes a valid CSS that [csstree-validator][2] validates.
We test this for every diagram and for every theme, because
many of the invalid CSS bugs are caused by missing theme vars.
There are some CSS errors that I couldn't easily fix, so I've written
the tests to ignore the following CSS errors:
- 'Unknown property `rx`' (Valid in SVG2 draft and in some browsers)
- 'Unknown property `ry`' (Valid in SVG2 draft and in some browsers)
- 'Unknown property `dy`'
- This doesn't seem to be valid CSS in any SVG version, but maybe
some browsers support it 🤷 I feel like we should probably change
this though.
[1]: https://github.com/thysultan/stylis
[2]: https://github.com/csstree/validator
2023-04-13 08:27:32 +01:00
Alois Klink
aee18ca018
fix: fix `scaleLabelColor` in theme forest/neutral
...
The `scaleLabelColor` variable in `theme-forest` and `theme-neutral`
was set to `"calculated"`, as it defaults to `this.labelTextColor`
**before** `this.labelTextColor` was set.
Moving the `this.labelTextColor` assignments before `scaleLabelColor`
is calculated fixes this.
Fixes mindmap and timeline invalid CSS in theme forest and neutral.
2023-04-13 07:32:18 +01:00
Alois Klink
cd976871f0
fix: define `gitBranchLabel`* in theme forest/dark
...
Define `gitBranchLabel[0-7]` in `theme-dark` and `theme-forest` to fix
invalid CSS for gitgraphs.
The values have been copied from [`theme-default`][1]).
[1]: 727bf30824/packages/mermaid/src/themes/theme-default.js (L296-L303)
2023-04-13 07:32:18 +01:00
Alois Klink
4f9c4548bf
fix: define `excludeBkgColor` for `theme-dark`
...
Define `excludeBkgColor` for `theme-dark` to fix invalid CSS
for gantt diagrams.
All the other themes defined this to '#eeeeee', but I thought that
was a bit too bright in a dark theme, so instead I set it to
`darken(this.sectionBkgColor, 10);`.
2023-04-13 07:32:18 +01:00
Alois Klink
720408e143
fix: define `border2` for `theme-base`
...
`border2` is a theme variable used by the CSS for flowcharts and
user-journey.
I've defined this to default to `tertiaryBorderColor` in theme-base,
as other themes tend to set `border2` to the same value as
`clusterBorder`, which in theme-base is `tertiaryBorderColor`.
2023-04-13 07:32:18 +01:00
Alois Klink
54f827d850
fix: define `arrowheadColor` for `theme-base`
...
Define `arrowheadColor` as `invert(this.background)` in
`theme-base.js`, as it's currently `undefined`, which causes CSS
issues when using `theme-base`.
I've picked `invert(this.background)` so that it matches
the default value of `lineColor`.
2023-04-13 07:32:18 +01:00
Alois Klink
7566b5620e
fix: fix `requirementBorderSize` theme variable
...
Currently, `requirementBorderSize` defaults to `primaryBorderColor`,
which is a color, not a valid SVG `stroke-width`.
Instead, I've made it default to `1`.
2023-04-13 07:32:18 +01:00