Sidharth Vinod
1a4e5d9c5a
Merge pull request #4562 from lishid/patch-3
...
Fix flowchart tooltip typing bug
2023-07-06 04:19:08 +00:00
Sidharth Vinod
e80e281a66
Merge pull request #4600 from tomperr/docs/4558-multiple-vertices-with-style
...
docs(flowchart): add documentation on multiple nodes style
2023-07-06 04:10:43 +00:00
Nikolay Rozhkov
04597d29c0
Merge pull request #4599 from nirname/fix/support-docs-dev-in-docker
...
Support docs:dev in docker
2023-07-06 04:04:18 +00:00
Sidharth Vinod
43df84a4d5
Merge branch 'master' into develop
...
* master:
fix lint
update homepage community link
Update docs
add ChatGPT plugin blog post
2023-07-06 09:34:26 +05:30
Sidharth Vinod
a753b1f18b
Merge branch 'develop' into fix/support-docs-dev-in-docker
2023-07-06 09:29:51 +05:30
Alois Klink
a862565a24
test: test partial QuadrantChartConfig options
2023-07-06 01:35:11 +01:00
Alois Klink
6ceee7f253
test: fix types in config.spec.ts
...
The `foo`, `bar`, and `foobar` options don't exist in MermaidConfig.
Instead, I've replaced them with:
- `foo` -> `fontFamily`
- `bar` -> `fontSize`
- `foobar` -> `altfontFamily`
2023-07-06 01:27:24 +01:00
Alois Klink
f731853e01
style: fix lint issues in src/config.spec.ts
...
It looks like our linter automatically converts `let` to `const` in
TypeScript files, but not in JavaScript files.
2023-07-06 01:20:24 +01:00
Alois Klink
5885f5f82a
test: rename src/config.spec.js to config.spec.ts
2023-07-06 01:19:34 +01:00
Alois Klink
38013de711
fix(quadrant): make quadrant options optional
...
Make the types of the options in QuadrantChartConfig in the
MermaidConfig optional. All of these (except for the values in
`BaseDiagramConfig`) will be automatically set to their
default values, so they're optional from a user perspective.
2023-07-06 01:06:01 +01:00
Steph
9251e520ab
fix lint
2023-07-05 13:50:33 -07:00
Steph
5e7e3e21c8
update homepage community link
2023-07-05 13:42:42 -07:00
Tom PERRILLAT-COLLOMB
fcb25aee7c
docs(flowchart): add documentation on multiple nodes style
2023-07-05 21:09:44 +02:00
Nikolay Rozhkov
95d62367e9
Add docker-specific command, leave commonly used command intact
2023-07-05 19:39:05 +03:00
Nikolay Rozhkov
34b2b5ba35
Support docs:dev in docker
2023-07-05 17:25:07 +03:00
Nikolay Rozhkov
c742ac71a4
Merge pull request #4598 from mermaid-js/sidv/fixDocsDev
...
Fix docs:dev
2023-07-05 14:05:27 +00:00
Sidharth Vinod
382026ed33
Fix docs:dev
2023-07-05 12:20:56 +05:30
Nikolay Rozhkov
9f5f0a6e66
Reduce sankey width
2023-07-05 01:49:58 +03:00
Nikolay Rozhkov
8449a44607
Sankey: Remove duplicated examples
2023-07-05 01:15:22 +03:00
Lishid
12fe6ff26e
Fix lint.
2023-07-03 18:56:00 -07:00
Nikolay Rozhkov
d5021cab1d
Remove double parsing
2023-07-03 18:57:26 +03:00
Sidharth Vinod
1b190b2892
Merge pull request #4551 from Yokozuna59/refactor-accessibility
...
refactor accessibility
2023-07-03 15:07:21 +00:00
Sidharth Vinod
6d7cd2b41f
Merge pull request #4580 from aloisklink/refactor/replace-enums
...
Remove all TypeScript enums and forbid them in ESLint
2023-07-03 07:26:39 +00:00
renovate[bot]
d6731a07db
Update all patch dependencies
2023-07-03 05:18:01 +00:00
Alois Klink
fbf79ffcc0
refactor: replace TypeScript enum with JS obj
...
[`const` assertions where added in TypeScript 3.4][1] and can be used
to create enum-like objects in plain JavaScript, that act like
TypeScript enums, but has none of the downsides of TypeScript enums.
[1]: https://devblogs.microsoft.com/typescript/announcing-typescript-3-4/#const-assertions
2023-07-02 23:56:42 +01:00
Alois Klink
b989ff5362
fix: change sankey config types to be unions
...
Replace the TypeScript `enum {a = "a", b = "b"}` types with
TypeScript's literal types (e.g. `"a" | "b"`).
This is because TypeScript enums are
[_not_ a type-level addition to JavaScript][1], and even the official
TypeScript docs say to be careful when using.
[1]: https://www.typescriptlang.org/docs/handbook/2/everyday-types.html#enums
2023-07-02 23:44:19 +01:00
Yokozuna59
406df57f81
Merge branch 'develop' into refactor-accessibility
2023-07-02 10:24:21 +02:00
Sidharth Vinod
dfc466514d
Merge branch 'develop' into feature/1838_actor_creation_destruction
2023-07-02 13:36:04 +05:30
Sidharth Vinod
2a1759aab4
Merge branch 'develop' into refactor-accessibility
2023-07-02 13:04:09 +05:30
renovate[bot]
b55a9328f4
Update all patch dependencies
2023-07-02 05:07:56 +00:00
Sidharth Vinod
19325777e5
Merge branch 'develop' into feature/1838_actor_creation_destruction
2023-07-02 10:32:59 +05:30
Sidharth Vinod
afb979f32b
Merge branch 'develop' into feature/4492_sankey-diagrams
2023-07-02 09:55:45 +05:30
Nikolay Rozhkov
abb7bb23d6
More detailed sankey docs
2023-07-02 02:34:22 +03:00
Nikolay Rozhkov
084b765e9f
Added tests for colors and fully setup cypress in Docker
2023-07-02 01:10:06 +03:00
Ibrahim Wassouf
4570f824f7
Fix relative link to theme variables list
2023-07-01 15:45:48 -03:00
Nikolay Rozhkov
a62719826a
Docker+Cypress, better run, removed unused syntax
...
Added cypress container (from their official image),
may be reconsidered later to choose our own
The only minor problem is node JS version mistmatch
package.json 18.16.0
docker-compose mermaid 18.16.1
docker-compose cypress 18.16.0
Host option in cypress docker container must be removed
in favor of possible configuration option.
http://localhost:9000 are currently hard-coded, that is bad
Updated ./run script with better documentation
and added some styles too it as well
Started sankey.spec.js as an example
2023-07-01 16:17:25 +03:00
Nikolay Rozhkov
cd7fce4e4d
Merge branch 'develop' into feature/4492_sankey-diagrams
2023-06-30 22:58:56 +03:00
Sidharth Vinod
1645bf0479
Merge branch 'develop' into pr/Valentine14th/4466
...
* develop:
Add threshold
Updated mermaid version to 10.2.4
update latest news section
2023-07-01 00:29:43 +05:30
Sidharth Vinod
4217bfc15d
Merge branch 'develop' into update-latest-news-section
...
* develop:
Add threshold
Fix Typo
2023-07-01 00:29:06 +05:30
Steph
efa3ba6397
add ChatGPT plugin blog post
2023-06-30 11:08:42 -07:00
Knut Sveidqvist
02d4be23cf
Merge remote-tracking branch 'origin/develop' into develop
2023-06-30 13:25:32 +02:00
Knut Sveidqvist
04b11d1ba6
Merge branch 'release/10.2.4'
2023-06-30 13:24:43 +02:00
Knut Sveidqvist
453b337e6e
Updated mermaid version to 10.2.4
2023-06-30 13:10:22 +02:00
Sidharth Vinod
3fe0c8b13d
Merge branch 'develop' into feature/1838_actor_creation_destruction
2023-06-30 16:00:24 +05:30
Pascal Knecht
a1dfc3dac9
Fix Typo
2023-06-30 11:59:40 +02:00
Lishid
0cab66c9d8
Fix flowchart tooltip typing
...
Tooltip is an object that gets reset to an array. It is then looked up for properties without guard, causing array functions like "length" and "constructor" to run into undefined behvaior.
2023-06-29 15:33:35 -04:00
Nikolay Rozhkov
b2f6858ff7
Prettier
2023-06-29 20:23:10 +03:00
Nikolay Rozhkov
06cb0c3be9
Fixed package json
2023-06-29 20:22:06 +03:00
Nikolay Rozhkov
9177350a39
Fixed double quotes, docs, demo and added more examples to run script
2023-06-29 20:16:25 +03:00
Nikolay Rozhkov
e24dce10a2
Added sankey documentation
2023-06-29 19:51:46 +03:00