Steph
35366f79ac
add announcements page content
2023-03-29 14:48:09 -07:00
Steph
4c0980629c
add blog page content
2023-03-29 14:46:19 -07:00
Steph
8bd2c0f272
create announcements and blog pages
2023-03-29 14:27:04 -07:00
Steph
2896865163
add latest news section
2023-03-29 14:23:44 -07:00
Sidharth Vinod
a49cdabd6c
Add Slack invite link
2023-03-29 21:50:15 +05:30
Knut Sveidqvist
dc98fe6a3b
Merge pull request #4226 from mermaid-js/updates-homepage
...
Updates to the Homepage
2023-03-16 16:28:27 +01:00
Steph
b56c8a2a7a
fix favicon resolution
2023-03-16 08:13:10 -07:00
Steph
d18dff65e1
add hover effect to mc icon and update cspell
2023-03-16 08:12:53 -07:00
Steph
2dc71377dc
add team member
2023-03-16 08:12:42 -07:00
Steph
89b9868870
update cards
2023-03-16 08:11:29 -07:00
Steph
b232f20169
add mermaid chart logo and link to navbar
2023-03-16 08:11:03 -07:00
Sidharth Vinod
759ab0c0f9
Merge branch 'release/9.4.3'
...
* release/9.4.3:
Updated import of cytoscape for consistent behavior
v9.4.3
fix: dayjs import extension
2023-03-08 00:13:27 +05:30
Knut Sveidqvist
1a7b8d3897
Updated import of cytoscape for consistent behavior
v9.4.3
2023-03-07 23:30:44 +05:30
Sidharth Vinod
f5e7abb71f
v9.4.3
2023-03-07 23:29:22 +05:30
Sidharth Vinod
1412bb4e94
fix: dayjs import extension
2023-03-07 22:40:50 +05:30
Sidharth Vinod
328f3968d1
Merge branch 'release/9.4.2'
...
* release/9.4.2:
9.4.2
Fix mindmap demo
9.4.2-rc.2
chore: Rename diagram-definitions with specific names
Use cytoscape esm
Revert "chore: Defer elk loading"
Revert "Split cytoscape"
test(gantt): test daylight savings in ganttdb
refactor(deps): replace `moment` with `dayjs`
fix(E2E): Add cors package
fix Server
Fix lockfile
Remove Readme
2023-03-07 21:33:23 +05:30
Sidharth Vinod
c965e4c456
9.4.2
v9.4.2
2023-03-07 21:20:32 +05:30
Sidharth Vinod
86aa7ab91e
Fix mindmap demo
2023-03-07 18:09:33 +05:30
Knut Sveidqvist
c7bcd74d56
Merge branch 'release/10.0.2'
2023-03-02 13:47:19 +01:00
Knut Sveidqvist
20298d243a
v10.0.2
v10.0.2
2023-03-02 13:45:56 +01:00
Sidharth Vinod
6f3077c856
fix: dayjs import extension
2023-03-01 23:16:24 +05:30
Knut Sveidqvist
4a9d96aaba
Setting version to 10.0.1
v10.0.1
2023-03-01 14:04:03 +01:00
Knut Sveidqvist
4275aa613c
Merge pull request #4169 from mermaid-js/4168_elk_diamon_subgraph
...
Elk layout for flowcharts: Incorrect placement of edges when using diamonds in subgraphs
2023-03-01 13:44:08 +01:00
Knut Sveidqvist
a65fb3b979
#4168 Adding the correct offset for the edges
2023-03-01 13:38:26 +01:00
Knut Sveidqvist
c0dba713c5
Updated import of cytoscape for consistent behavior
2023-03-01 09:29:59 +01:00
Sidharth Vinod
1ecf15669a
9.4.2-rc.2
2023-02-28 21:51:31 +05:30
Sidharth Vinod
d24ddca03f
chore: Rename diagram-definitions with specific names
2023-02-28 21:49:49 +05:30
Sidharth Vinod
a7847038a5
Use cytoscape esm
2023-02-28 21:45:07 +05:30
Sidharth Vinod
b6db75fe3e
Revert "chore: Defer elk loading"
...
This reverts commit 037504785c26dd18ee797cfdf93a5e9f5f551f6a.
2023-02-28 21:44:55 +05:30
Sidharth Vinod
2a838e645c
Revert "Split cytoscape"
...
This reverts commit f81f9f7c958848758d26e1e2bf05a98808152a25.
2023-02-28 21:44:48 +05:30
Sidharth Vinod
807e1f303d
Use cytoscape esm
2023-02-28 20:40:56 +05:30
Sidharth Vinod
65f5f9dc45
Revert "chore: Defer elk loading"
...
This reverts commit 037504785c26dd18ee797cfdf93a5e9f5f551f6a.
2023-02-28 20:39:06 +05:30
Sidharth Vinod
b8b8c4740a
Revert "Split cytoscape"
...
This reverts commit f81f9f7c958848758d26e1e2bf05a98808152a25.
2023-02-28 20:31:03 +05:30
Alois Klink
61bf7c577c
test(gantt): test daylight savings in ganttdb
...
Add a quick test that ensures `ganttDb` correctly adds `1d` (1 day),
even on days with 25 hours.
This test only runs if the test PC has the TZ='America/Los_Angeles'
set (California has daylight savings).
I've added a test to the GitHub Actions `test.yml` action too for this.
It should only add about 5 seconds to each test, so it isn't too bad.
2023-02-28 19:54:58 +05:30
Alois Klink
704506835f
refactor(deps): replace moment
with dayjs
...
Replace Mermaid's dependency on `moment` with `dayjs`.
[Moment is now in maintenance mode][1], and they don't recommend
using it.
[Dayjs][2] has almost exactly the same API as moment, and is still
curently being maintained. Unlike moment, dayjs objects are immutable,
which makes our life much easier, but we need to do
`a = a.add(1, "day")` instead of just `a.add(1, "day")`.
We can't use `dayjs.duration`, because unlike `moment.duration`,
[dayjs durations always degrade to ms][3].
This causes issues with daylight savings, since it assumes that each
day is 24 hours, when some days have 23/25 hours with daylight savings.
(it also assumes that each month is 30 days).
However, `dayjs.add(1, "d");` correctly adds 1 days, even when that
day is only 23 hours long, so we can use that instead.
[1]: https://momentjs.com/docs/#/-project-status/
[2]: https://day.js.org/
[3]: https://day.js.org/docs/en/durations/durations
Co-authored-by: Alois Klink <alois@aloisklink.com>
2023-02-28 19:54:27 +05:30
Sidharth Vinod
f8f7d94d5a
fix: Class with members and styles
2023-02-28 19:34:54 +05:30
Knut Sveidqvist
114ab87816
Merge pull request #4160 from mermaid-js/sidv/fix4157
...
fix #4157 : Inject only fontFamily without replacing themeVariables
2023-02-28 13:38:52 +01:00
Sidharth Vinod
4a6056b558
typo
2023-02-28 18:01:46 +05:30
knsv
3a56af9633
Update docs
2023-02-28 12:24:04 +00:00
Knut Sveidqvist
fda0c8d0a9
Merge branch 'develop' into sidv/fix4157
2023-02-28 13:20:37 +01:00
Knut Sveidqvist
b932cd0930
Merge pull request #4128 from kshitijsaksena/bug/3949_erdiagram_attribute_comment
...
Added grammar to skip comment in attribute block
2023-02-28 13:14:50 +01:00
Knut Sveidqvist
2f06b41f5f
Merge pull request #4142 from mermaid-js/sidv/fixRunAsync
...
Fix(#4140 ): Async bug in mermaid.run
2023-02-28 13:12:14 +01:00
Sidharth Vinod
1ab3ed1a1a
chore: Add vitest imports
2023-02-28 16:58:41 +05:30
Sidharth Vinod
1981f12976
chore: Fix snapshots
2023-02-28 16:58:04 +05:30
Sidharth Vinod
733967f65a
fix #4157 : Inject only fontFamily without replacing themeVariables
2023-02-28 16:55:25 +05:30
Sidharth Vinod
56d27d555b
Merge branch 'sidv/fixRunAsync' of https://github.com/mermaid-js/mermaid into sidv/fixRunAsync
...
* 'sidv/fixRunAsync' of https://github.com/mermaid-js/mermaid :
Update packages/mermaid/src/mermaid.ts
2023-02-28 16:49:02 +05:30
Sidharth Vinod
7cee8cb6dc
Merge branch 'develop' into sidv/fixRunAsync
...
* develop: (23 commits)
Fix test
refactor(deps): replace `moment` with `dayjs`
test(gantt): test daylight savings in ganttdb
Update .lycheeignore
chore: dagre-d3-es@7.0.9
chore: Add tsdoc for registerLazyLoadedDiagrams
feat: Ensure proper detection for flowcharts
fix: Class label not visible if class is already defined
Update import
fix TS errors
fix TS errors
feat: Match timeline section width to tasks
chore: TimelineRenderer in TS
Fix types
fix: Detector order
Lint
Cleanup nodes.js
docs: Update classdiagram docs
classLabel tests
Formatting
...
2023-02-28 16:48:54 +05:30
Knut Sveidqvist
c91fa192aa
Update packages/mermaid/src/mermaid.ts
...
Co-authored-by: Alois Klink <alois@aloisklink.com>
2023-02-28 12:14:35 +01:00
Knut Sveidqvist
3f93edaaf3
Merge pull request #4086 from sidharthv96/sidv/classDiagramLabels
...
feat: Add support for classDiagram labels
2023-02-28 12:03:22 +01:00
Knut Sveidqvist
0bed5d717b
Merge pull request #4126 from mermaid-js/sidv/timelineSectionWidth
...
💄 section width now covers all tasks - Timeline
2023-02-28 11:59:14 +01:00