Commit Graph

39 Commits

Author SHA1 Message Date
Reda Al Sulais 91785b8284
Merge branch 'next' into add-info-langium-parser 2023-08-26 13:48:31 +03:00
Sidharth Vinod 11b599d77c
chore: Fix type imports 2023-08-22 13:44:11 +05:30
Reda Al Sulais 6c0ef54e18
Merge branch 'next' into add-info-langium-parser 2023-08-20 18:01:37 +03:00
Reda Al Sulais cbe9490dc0 feat!: integrate `info` parser into `mermaid` package
BREAKING CHANGE: remove `showInfo` from `infoDb`.
2023-08-20 17:25:49 +03:00
Reda Al Sulais 82054bfabc chore: make `parser` as optional in `ParserDefinition` 2023-08-20 17:22:13 +03:00
Reda Al Sulais 3f3a7340e3 remove `setConfig` and `resetConfig` in pie 2023-08-12 21:18:07 +03:00
Reda Al Sulais 120bdabee1
Merge branch 'develop' into standardized-pie-definitions 2023-08-11 01:04:06 +03:00
Reda Al Sulais 980a5ac8b5 create `ParserDefinition` type 2023-08-10 22:26:04 +03:00
Reda Al Sulais 545d361d3f rename `reset` to `resetConfig` 2023-08-10 21:01:32 +03:00
Reda Al Sulais e6a18eea91 Merge remote-tracking branch upstream/develop into standardized-pie-definitions 2023-08-06 18:30:51 +03:00
Reda Al Sulais 4845635f48 create `Group` type 2023-08-05 16:00:06 +03:00
Reda Al Sulais bdfd8974d4 change default `useWidth` in pie to 984 2023-08-03 20:56:18 +03:00
Reda Al Sulais 7d69ad2d5b Merge remote-tracking branch upstream/develop into standardized-pie-definitions 2023-08-02 15:54:23 +03:00
Yokozuna59 38ba45f735 run lint:fix 2023-06-28 01:35:27 +03:00
Yokozuna59 925e76e283
Merge branch 'develop' into resolve-info-html-assignment 2023-06-28 01:29:14 +03:00
Yokozuna59 64a28be5e3 rename `getDiagramStyles` type into `DiagramStylesProvider` 2023-06-26 20:34:21 +03:00
Yokozuna59 8b67200717 change `options` paramter to any instead of `unknown` 2023-06-26 19:31:53 +03:00
Yokozuna59 3106ddbd1e add `getDiagramStyles` type and use it in `style.ts` 2023-06-26 19:28:22 +03:00
Yokozuna59 daa98a2f54 use body of document instead of document itself in `infoRenderer` 2023-06-20 17:52:50 +03:00
Yokozuna59 ae8860eec3 add `undefined` to getConfig return type until handle other diagrams 2023-06-19 21:56:35 +03:00
Yokozuna59 9c2b95fc3c add config functions to DiagramDB interface 2023-06-19 20:13:15 +03:00
Yokozuna59 750b1d2223 add HTML type and change svg type generic types 2023-06-13 16:56:31 +03:00
Yokozuna59 ae14f6a947 add parial parts to info graph 2023-06-13 18:50:08 +03:00
Yokozuna59 171d7a04f4 caps `DB` part in `DiagramDb` and `InfoDb` 2023-06-13 12:24:10 +03:00
Yokozuna59 e7b9b5a0a9 set styles as optional in `DiagramDefinition` 2023-06-12 23:10:20 +03:00
Yokozuna59 c78ad7dbac create `ParseDirectiveDefinition` type for parsing directives 2023-06-12 21:11:34 +03:00
Yokozuna59 372b57d540 create `DrawDefinition` function type 2023-06-12 19:36:54 +03:00
Remco Haszing da7725f38e
Merge branch 'develop' into fix-node16-module-resolution 2023-04-01 12:05:19 +02:00
Jeremy Funk ba1c5dc6c7 Change to using display mode yaml 2023-03-25 01:56:50 +01:00
Remco Haszing b7d31adda4
Support node16 module resolution
The `node16` module resolution requires imports to use the `.js` file
extension in type definitions.

`@rollup/plugin-typescript` is needed to make this work with the Vite
setup used by Mermaid.

The module option for Mermaid internally is set to `nodenext`. This is
needed to support `.json` imports. Note that setting `module` to
`node16` or `nodenext` implies a matching `moduleResolution` value.
2023-03-11 14:54:21 +01:00
Sidharth Vinod eaa84d2d91
feat: Break render and parse types
Both render and parse are async now.
Return type of render contains svg and bindFunctions.
Parse will not throw error if parseOptions.silent is passed.
2023-02-19 13:08:13 +05:30
ashishj 49ce5222c9 Lint Fixes 2023-01-25 17:49:35 +01:00
ashishj 652a42fe1a Add directive parsing functionality to timeline diagram 2023-01-19 19:03:05 +01:00
ashishj fefcc43dd4 Merged Develop in timeline branch 2022-12-15 17:10:56 +01:00
Ashley Engelund (weedySeaDragon @ github) 626a4741c0 Merge remote-tracking branch 'MERMAID/develop' into feat/3626-aria-descBy-roledescription-mocks 2022-11-25 11:30:44 -08:00
ashishj 0d5246fbc7 initial commit 2022-11-23 19:28:26 +01:00
Mason Malone 3316aa5f4f Add interface for DiagramDb and other minor changes 2022-11-19 12:52:49 -08:00
Sidharth Vinod a83f88bdf1
chore: Merge master to develop 2022-11-10 13:51:53 +05:30
Sidharth Vinod f4a5b80eff
fix: Load all extraDiagrams 2022-10-07 16:57:28 +08:00