Sidharth Vinod
fc229cf274
Merge pull request #4803 from aloisklink/refactor/mermaid-config-limit-enum-types
...
[v11] Limit `MermaidConfig` enum TypesScript types to certain values
2023-09-03 05:29:25 +00:00
Sidharth Vinod
be3829232c
chore: Add JSDoc to apply in sequenceDB
...
Co-authored-by: Alois Klink <alois@aloisklink.com>
2023-09-03 10:54:18 +05:30
Sidharth Vinod
20fd6d35f0
refactor: Tidy up direction handling
2023-09-03 10:46:26 +05:30
Sidharth Vinod
5b724b180f
chore: Fix flowchart arrow
2023-09-03 03:02:58 +05:30
Sidharth Vinod
784e235ff9
chore: Add test to verify activate
2023-09-03 02:34:46 +05:30
Sidharth Vinod
02a0596e3c
chore: Update tests snapshot
2023-09-03 02:33:06 +05:30
Sidharth Vinod
498f75eece
fix : #4691 Align arrowheads properly in sequenceDiagram
2023-09-03 02:32:28 +05:30
Alois Klink
b48136d994
refactor!: remove MermaidConfig type enum fallback
...
Currently (in Mermaid v10), pretty much all enum types in the
MermaidConfig have generic `string` or `number` fallbacks,
for backwards compatibility.
This commit drops this. The MermaidConfig TypeScript types now expects
a limited amount of values.
BREAKING-CHANGE: Remove `MermaidConfig` generic type fallbacks for
enum values.
2023-09-02 19:33:40 +01:00
Alois Klink
77ba7c987a
test: rewrite some config
vals to tighten types
...
We're planning on limiting some of MermaidConfig's types to specific
values (e.g. `0 | 1` instead of `number`).
2023-09-02 19:33:40 +01:00
Reda Al Sulais
84f3baf013
Merge branch 'develop' into next
...
Signed-off-by: Reda Al Sulais <u.yokozuna@gmail.com>
2023-09-02 18:57:00 +03:00
Reda Al Sulais
a61887f5a2
chore: move commonDb
into diagrams/common/commonDb
2023-09-02 17:51:33 +03:00
jgreywolf
44a6a6758e
Update docs
2023-09-01 13:16:16 +00:00
Justin Greywolf
a12864d9e4
run prettier fix
2023-09-01 06:10:41 -07:00
Sidharth Vinod
bbbae7d59f
Apply suggestions from code review
...
Co-authored-by: Alois Klink <alois@aloisklink.com>
2023-08-30 05:19:12 +00:00
Sidharth Vinod
e84ee32408
Merge branch 'develop' into feature/4771_tickInterval-support-for-sec-and-ms
2023-08-29 18:38:44 +00:00
Sidharth Vinod
cca9662365
chore: Add comments in edge handling
2023-08-29 23:49:00 +05:30
Sidharth Vinod
f30a23f41e
chore: Make aggregation arrow transparent
2023-08-29 23:35:21 +05:30
Sidharth Vinod
58cb827839
chore: Remove structuredClone
2023-08-29 23:32:10 +05:30
Sidharth Vinod
7de1abbcc2
chore: Make extension arrow transparent
2023-08-29 23:28:45 +05:30
Sidharth Vinod
26e32665a4
chore: Align edge markers properly in class
2023-08-29 23:18:55 +05:30
Sidharth Vinod
c3df18fc5b
feat: #2685 Support class member initialization by member definition
2023-08-28 18:57:34 +05:30
Sidharth Vinod
eca0cea339
refactor: Fir classDB types
2023-08-28 18:54:30 +05:30
Justin Greywolf
efa6cb3434
Update classDiagram.md
2023-08-28 06:20:49 -07:00
Justin Greywolf
5839e0de87
add additional test case
2023-08-28 06:13:30 -07:00
Thomas Ingram
4efac6721d
Added missing integration tests and release version in docs.
2023-08-28 20:17:15 +10:00
Reda Al Sulais
795baedbb1
chore: run pnpm lint:fix
2023-08-28 12:14:49 +03:00
Reda Al Sulais
5469a7eb71
Update packages/mermaid/src/diagrams/pie/pieParser.ts
...
Co-authored-by: Sidharth Vinod <sidharthv96@gmail.com>
2023-08-28 12:11:21 +03:00
Reda Al Sulais
23fc7c2c96
Update packages/parser/src/language/pie/pieValueConverter.ts
...
Co-authored-by: Sidharth Vinod <sidharthv96@gmail.com>
2023-08-28 12:11:12 +03:00
sidharthv96
dff404a8c9
Update docs
2023-08-28 08:53:43 +00:00
Sidharth Vinod
146364aa67
chore: Fix imports
2023-08-28 14:19:43 +05:30
Sidharth Vinod
258dbf30e0
Merge branch 'next' into pr/Yokozuna59/4751
...
* next: (70 commits)
chore: Add comment for `yy`.
chore: Increase heap size when building
chore: increase `test-util.ts` converage by returning `undefined`
chore: add `vitest` imports to `test-util.ts`
chore: run `pnpm lint:fix`
create `noErrorsOrAlternatives` parser helper function
chore: export `InfoModule` from `infoModule.ts`
docs: Fix link
Update docs
fix(pie): align slices and legend orders
Mermaid version v10.4.0
unique batches every time, if not repeated tests end up in the same batch
Added missed .md
Increase JS heap
More tests for redirects + prettier
Fixed redirects inside vitepress, extended tests
chore: Explain redirect.ts clearly
docs: Fix npmjs link
chore: Update editor.bash to build latest version
chore: Build after clone
...
2023-08-28 14:13:20 +05:30
Sidharth Vinod
44b93c039a
Merge pull request #4727 from Yokozuna59/add-info-langium-parser
...
feat: add `@mermaid-js/parser` package and `info` langium parser
2023-08-28 08:10:30 +00:00
Sidharth Vinod
4d5313699e
chore: Add comment for yy
.
2023-08-28 13:39:37 +05:30
Sidharth Vinod
cd198290d7
Merge branch 'next' into pr/Yokozuna59/4727
...
* next:
chore: Increase heap size when building
fix(er): bug if relationship is declared first
test(er): add cypress test on entity name alias
feat(er): use square brackets to add aliases
docs(er): add release version for entity name aliases
feat(er): add entity name alias
2023-08-28 13:32:27 +05:30
Sidharth Vinod
6e51f8fd98
Merge pull request #4782 from mermaid-js/renovate/patch-all-patch
...
chore(deps): update all patch dependencies (patch)
2023-08-28 07:37:22 +00:00
Sidharth Vinod
9823834a56
Merge pull request #4783 from mermaid-js/renovate/all-minor
...
chore(deps): update all minor dependencies (minor)
2023-08-28 07:37:09 +00:00
Sidharth Vinod
02517e8a7d
chore: Fix warning formatting
2023-08-28 12:31:40 +05:30
Sidharth Vinod
f6325f6906
docs: Disable showValues in sankey example
2023-08-28 12:30:39 +05:30
renovate[bot]
6b0e0e21ac
chore(deps): update all patch dependencies
2023-08-28 05:09:59 +00:00
renovate[bot]
19aaf459a5
chore(deps): update all minor dependencies
2023-08-28 00:12:53 +00:00
Justin Greywolf
6aa20ed64b
Update classDiagram.md
2023-08-27 16:22:38 -07:00
Justin Greywolf
12f11c6721
added test case
2023-08-27 15:47:22 -07:00
Justin Greywolf
75737544c8
Update classDiagram.md
2023-08-27 15:39:07 -07:00
Justin Greywolf
b6d5497f51
Update README.md
...
Quick fix to remove namespace from readme class definition since github has not been update to the version that uses namespaces
2023-08-27 15:23:59 -07:00
Thomas Ingram
8f340094d9
Added support for millisecond and second to gantt tickInterval
2023-08-27 16:08:47 +10:00
Tom PERRILLAT-COLLOMB
264f7920f0
fix(er): allow underscore as leading char
2023-08-27 00:15:50 +02:00
Justin Greywolf
b513169f12
Merge branch 'develop' into UpdateClassMemberHandling
2023-08-26 14:01:42 -07:00
Justin Greywolf
87880fdf40
add sanitize text
2023-08-26 14:01:14 -07:00
Sidharth Vinod
60ed7d3273
chore: Increase heap size when building
2023-08-26 23:43:27 +05:30
Sidharth Vinod
066e0967de
refactor: Move setWrap to individual diagrams as necessary.
2023-08-26 23:27:25 +05:30