Alois Klink
62fd359c0e
refactor: convert shapes/util.js
to TypeScript
...
Convert the
`packages/mermaid/src/rendering-util/rendering-elements/shapes/util.js`
file to TypeScript at:
`packages/mermaid/src/rendering-util/rendering-elements/shapes/util.ts`.
2024-10-18 01:51:53 +09:00
Alois Klink
b0f4ace3a1
refactor: convert rendering-elements/nodes
to TS
...
Convert the
`packages/mermaid/src/rendering-util/rendering-elements/nodes.js`
file to TypeScript at
`packages/mermaid/src/rendering-util/rendering-elements/nodes.ts`
2024-10-18 01:51:53 +09:00
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
Sidharth Vinod
2933eb5c28
fix: Build options
2024-10-09 16:44:51 +05:30
Sidharth Vinod
2b86750cb3
Merge pull request #5924 from mermaid-js/sidv/autoGenerateShapeDocs
...
Auto generate shape docs
2024-10-09 14:11:56 +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
Sidharth Vinod
76138cf3b9
chore: Decouple build logic
2024-10-09 13:17:59 +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
Sidharth Vinod
463ba6ed6d
Merge pull request #5923 from mermaid-js/sidv/refactorShapes
...
Refactor shapes definition
2024-10-09 13:17:06 +05:30
saurabhg772244
17b783135f
Added pnpm changeset
2024-10-09 12:55:37 +05:30
saurabhg772244
8df2729bd4
Merge branch 'saurabh/icon-shape-style-fix' of https://github.com/mermaid-js/mermaid into saurabh/icon-shape-style-fix
2024-10-09 12:16:05 +05:30
saurabhg772244
a001619464
Move MIT license just before icon definition
2024-10-09 12:15:23 +05:30
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
saurabhg772244
9bac464442
Use tropical-fish icon with MIT license in e2e tests
2024-10-09 10:41:37 +05:30
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
c38d9a6620
Merge pull request #5808 from mermaid-js/renovate/patch-all-patch
...
chore(deps): update all patch dependencies (patch)
2024-10-08 15:11:26 +05:30
Sidharth Vinod
2f65429aa4
chore: Rollback dompurify update range
2024-10-08 15:01:11 +05:30
Sidharth Vinod
c24028f2a4
chore: Separate dompurify updates
2024-10-08 15:00:57 +05:30
autofix-ci[bot]
a20c292653
[autofix.ci] apply automated fixes
2024-10-08 09:17:15 +00:00
renovate[bot]
1c6304b3fb
chore(deps): update all patch dependencies
2024-10-08 09:11:33 +00:00
Sidharth Vinod
3ac93af80c
Merge pull request #5936 from mermaid-js/renovate/major-eslint
...
chore(deps): update dependency eslint-plugin-unicorn to v56
2024-10-08 13:58:24 +05:30
renovate[bot]
ce586e1b31
chore(deps): update dependency eslint-plugin-unicorn to v56
2024-10-08 08:18:32 +00:00
Sidharth Vinod
926f97124b
Merge pull request #5939 from mermaid-js/renovate/npm-express-vulnerability
...
chore(deps): update dependency express to v4.20.0 [security]
2024-10-08 13:39:14 +05:30
Sidharth Vinod
0f2301f2d6
Merge pull request #5938 from mermaid-js/renovate/npm-vite-vulnerability
...
chore(deps): update dependency vite to v5.4.6 [security]
2024-10-08 13:38:29 +05:30
Sidharth Vinod
58e8f65135
Merge pull request #5935 from mermaid-js/renovate/eslint
...
chore(deps): update eslint to v9.12.0 (minor)
2024-10-08 13:37:54 +05:30
Sidharth Vinod
1b51fbfcca
Revert "chore: Split newshape test"
...
This reverts commit 1b12ac133ee06f5cd3d8e3435763e96f38db9e32.
2024-10-08 13:36:16 +05:30
renovate[bot]
1296840696
chore(deps): update eslint to v9.12.0
2024-10-08 07:57:45 +00:00
Sidharth Vinod
f99e2c9366
fix: Add internalAliases
...
Co-authored-by: Alois Klink <alois@aloisklink.com>
2024-10-08 13:25:00 +05:30
renovate[bot]
c71b56ebe3
chore(deps): update dependency express to v4.20.0 [security]
2024-10-08 07:52:44 +00:00
renovate[bot]
9904afce64
chore(deps): update dependency vite to v5.4.6 [security]
2024-10-08 07:52:17 +00:00
Sidharth Vinod
a827fb1202
fix: Argos index numbering
2024-10-08 13:20:55 +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
Sidharth Vinod
b83b778f2a
Merge pull request #5933 from remcohaszing/fix-types-dependencies
...
Fix TypeScript dependencies
2024-10-08 12:55:49 +05:30
Sidharth Vinod
86a91597f9
Upgrade @argos-ci
2024-10-07 19:12:23 +05:30
Sidharth Vinod
1b12ac133e
chore: Split newshape test
2024-10-07 18:30:05 +05:30
Sidharth Vinod
e55880a9c4
Merge pull request #5925 from mermaid-js/sidv/parallelCypress
...
chore: Split cypress tests locally
2024-10-07 17:20:55 +05:30
Sidharth Vinod
9cc309b69c
Apply suggestions from code review
...
Co-authored-by: Alois Klink <alois@aloisklink.com>
2024-10-07 17:20:38 +05:30
saurabhg772244
d3308232e8
updated test case for icon shape
2024-10-07 16:11:31 +05:30
saurabhg772244
0b8f27e1d2
Updated icon shape to use css color style instead of stroke
2024-10-07 15:52:12 +05:30
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
Sidharth Vinod
d9a26ff193
Merge branch 'develop' into sidv/refactorShapes
2024-10-04 14:44:31 +05:30
Sidharth Vinod
2401eea725
Merge branch 'develop' into sidv/parallelCypress
2024-10-04 14:43:49 +05:30
Sidharth Vinod
ddf18dd233
chore: Disable architecture diagram test
2024-10-04 14:25:45 +05:30