Alois Klink
9afb181d06
refactor: correct shapes types
...
All of the shapes in
`packages/mermaid/src/rendering-util/rendering-elements/shapes/` use
`D3.Selection`s as input parameters and as return parameters.
Although, for some reason, passing them to roughjs seems to work?
2024-10-17 22:29:38 +09:00
Alois Klink
cfe7cce41d
refactor: improve types of shapes
...
Instead of being a `Record<string, ShapeHandler>`, the type now knows
every key in the variable.
2024-10-17 18:59:43 +09:00
Gabriel Silva
e54d10c706
docs(ecosystem): Add Zed extension zed-mermaid to community integrations
2024-10-17 10:21:15 +02:00
Yari DeWalt
86c7532f46
Merge branch 'develop' into update-class-diagram
2024-10-16 09:43:58 -07:00
eitsupi
8aa87c7091
docs(integrations): fix listing order
2024-10-16 21:36:26 +09:00
Yihui Xie
4cce43f0a1
Bullet lists should not be code blocks
2024-10-15 22:45:38 -05:00
Tomáš Hübelbauer
7353be3b16
Remove extraneous period
...
Other cells in the table do not end with one.
2024-10-11 22:21:23 +02:00
Knut Sveidqvist
02be63ed72
Refactoring and cleanup including updated unit tests
2024-10-11 08:48:04 -07:00
Knut Sveidqvist
991d403d7f
Typescript fixes
2024-10-10 09:47:52 -07:00
Knut Sveidqvist
290c678dc7
Adding ticket handling
2024-10-10 08:23:58 -07:00
g.bremont-ext
2c31a599af
docs(architecture): use right icon for database in exemple
2024-10-10 17:00:13 +02:00
saurabhg772244
a4fd42214b
Use relative URL in linking docs
2024-10-10 15:17:26 +05:30
saurabhg772244
ca885027d4
Moved position for icon config and added major version in icon docs
2024-10-10 14:15:16 +05:30
saurabhg772244
9f6f1e96e5
Added new doc for registering icon pack in mermaid
2024-10-10 13:11:54 +05:30
saurabhg772244
09ecf76034
Updated doc for image and icon shapes
2024-10-09 15:34:12 +05:30
Sidharth Vinod
b45224755e
Merge branch 'develop' into sidv/autoGenerateShapeDocs
2024-10-09 13:41:43 +05:30
Sidharth Vinod
14524e1b0e
docs: Optimise document generation
...
Co-authored-by: Alois Klink <alois@aloisklink.com>
2024-10-09 13:39:06 +05:30
Sidharth Vinod
efa47e3176
fix: Docs vitepress build
2024-10-09 13:18:01 +05:30
Sidharth Vinod
1bc45405e0
chore: Generate shape doc before verification
2024-10-09 13:18:01 +05:30
Sidharth Vinod
3720e1a894
docs: Auto generate shape docs
...
Not keen on how it's currently run, open to suggestions on better ways.
2024-10-09 13:18:00 +05:30
Alois Klink
2506c29f6b
Merge pull request #5937 from mermaid-js/saurabh/icon-shape-style-fix
...
Fix icon shape color for colored icons.
2024-10-09 07:47:34 +00:00
Saurabh Gore
3c5a19d297
Merge branch 'develop' into saurabh/icon-shape-style-fix
2024-10-09 11:12:56 +05:30
saurabhg772244
a98290a6e2
remove doc for icon shape
2024-10-09 11:08:27 +05:30
Yari DeWalt
d424a4473a
Merge branch 'develop' into update-class-diagram
2024-10-08 07:58:15 -07:00
saurabhg772244
4062813d44
Added docs for icon-shape
2024-10-08 17:45:53 +05:30
Sidharth Vinod
29b9d3069b
Merge branch 'develop' into sidv/refactorShapes
2024-10-08 16:15:34 +05:30
Sidharth Vinod
2f65429aa4
chore: Rollback dompurify update range
2024-10-08 15:01:11 +05:30
renovate[bot]
1c6304b3fb
chore(deps): update all patch dependencies
2024-10-08 09:11:33 +00:00
Sidharth Vinod
f99e2c9366
fix: Add internalAliases
...
Co-authored-by: Alois Klink <alois@aloisklink.com>
2024-10-08 13:25:00 +05:30
Sidharth Vinod
51be99c9de
fix: Remove duplicates, add documentation, rename legacyAlias
...
Co-authored-by: Alois Klink <alois@aloisklink.com>
2024-10-08 13:01:31 +05:30
saurabhg772244
0b8f27e1d2
Updated icon shape to use css color style instead of stroke
2024-10-07 15:52:12 +05:30
Knut Sveidqvist
93f2c241b8
5432 WIP, rendering items
2024-10-06 19:22:07 +02:00
Knut Sveidqvist
fb44e769f2
5432 WIP, rendering sections
2024-10-06 18:34:24 +02:00
Knut Sveidqvist
fabdfd9ae8
5432 WIP, parsing works
2024-10-06 16:55:57 +02:00
Remco Haszing
72d60d2633
Fix TypeScript dependencies
...
The Mermaid type definitions depend on `@types/d3` and
`@types/dompurify`. Without these dependencies, the Mermaid types cause
a type error for users.
2024-10-04 17:19:04 +02:00
Knut Sveidqvist
2d7686eb65
#5342 Initial commit
2024-10-04 16:03:55 +02:00
Sidharth Vinod
5a3e0ccc3d
chore: rebuild
2024-10-04 02:33:45 +05:30
Sidharth Vinod
0ae4f97036
test: Update nodes test
2024-10-04 00:05:38 +05:30
Sidharth Vinod
218bfe1603
chore: Update import path
2024-10-03 22:13:00 +05:30
Sidharth Vinod
339c670839
docs: Update new shape registration doc
2024-10-03 22:12:41 +05:30
Sidharth Vinod
c5a19f6e85
chore: Organize shape handling
2024-10-03 22:08:30 +05:30
github-actions[bot]
0cb88c21dc
Version Packages
2024-10-03 14:40:03 +00:00
Sidharth Vinod
4776f97f82
Merge pull request #5921 from mermaid-js/develop
...
Pre Release
2024-10-03 19:58:58 +05:30
Sidharth Vinod
460db0aea7
fix: Link checker
2024-10-03 19:36:05 +05:30
Sidharth Vinod
02cf111995
Merge pull request #5825 from mermaid-js/knsv/new-shapes
...
New Flowchart Shapes (with new syntax)
2024-10-03 17:03:20 +05:30
Steph
fce77a19b0
update product hunt badge for whiteboard and mermaid chart page
2024-10-03 02:18:00 -07:00
Michael Vorburger
0cbc000bfa
docs: Fix inconsistency in Block Diagram doc example
2024-10-03 10:47:31 +02:00
Sidharth Vinod
ef8c0025fd
Merge pull request #5801 from jbriales/patch-1
...
Update sequenceDiagram.md
2024-10-03 04:26:46 +00:00
Sidharth Vinod
be0bbe9950
Merge branch 'develop' into patch-1
2024-10-03 09:43:13 +05:30
Sidharth Vinod
b503c2c758
Merge branch 'develop' into patch-2
2024-10-03 09:42:47 +05:30