mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-01-14 06:43:25 +08:00
Merge from develop
This commit is contained in:
commit
89e82e4d97
@ -1,5 +1,5 @@
|
|||||||
---
|
---
|
||||||
'mermaid': minor
|
'mermaid': patch
|
||||||
---
|
---
|
||||||
|
|
||||||
Fix for issue with calculation of label width when using in firefox
|
Fix for issue with calculation of label width when using in firefox
|
||||||
|
@ -1,5 +0,0 @@
|
|||||||
---
|
|
||||||
'@mermaid-js/layout-elk': patch
|
|
||||||
---
|
|
||||||
|
|
||||||
chore: fix render types
|
|
@ -1,5 +1,11 @@
|
|||||||
# @mermaid-js/layout-elk
|
# @mermaid-js/layout-elk
|
||||||
|
|
||||||
|
## 0.1.4
|
||||||
|
|
||||||
|
### Patch Changes
|
||||||
|
|
||||||
|
- [#5847](https://github.com/mermaid-js/mermaid/pull/5847) [`dd03043`](https://github.com/mermaid-js/mermaid/commit/dd0304387e85fc57a9ebb666f89ef788c012c2c5) Thanks [@sidharthv96](https://github.com/sidharthv96)! - chore: fix render types
|
||||||
|
|
||||||
## 0.1.3
|
## 0.1.3
|
||||||
|
|
||||||
### Patch Changes
|
### Patch Changes
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@mermaid-js/layout-elk",
|
"name": "@mermaid-js/layout-elk",
|
||||||
"version": "0.1.3",
|
"version": "0.1.4",
|
||||||
"description": "ELK layout engine for mermaid",
|
"description": "ELK layout engine for mermaid",
|
||||||
"module": "dist/mermaid-layout-elk.core.mjs",
|
"module": "dist/mermaid-layout-elk.core.mjs",
|
||||||
"types": "dist/layouts.d.ts",
|
"types": "dist/layouts.d.ts",
|
||||||
|
@ -329,7 +329,7 @@ export const fixLifeLineHeights = (diagram, actors, actorKeys, conf) => {
|
|||||||
const drawActorTypeParticipant = function (elem, actor, conf, isFooter) {
|
const drawActorTypeParticipant = function (elem, actor, conf, isFooter) {
|
||||||
const actorY = isFooter ? actor.stopy : actor.starty;
|
const actorY = isFooter ? actor.stopy : actor.starty;
|
||||||
const center = actor.x + actor.width / 2;
|
const center = actor.x + actor.width / 2;
|
||||||
const centerY = actorY + 5;
|
const centerY = actorY + actor.height;
|
||||||
|
|
||||||
const boxplusLineGroup = elem.append('g').lower();
|
const boxplusLineGroup = elem.append('g').lower();
|
||||||
var g = boxplusLineGroup;
|
var g = boxplusLineGroup;
|
||||||
|
@ -1,11 +1,11 @@
|
|||||||
<template>
|
<template>
|
||||||
<div class="-mt-6 mb-8">
|
<div class="-mt-6 mb-8">
|
||||||
<a
|
<a
|
||||||
href="https://www.producthunt.com/posts/mermaid-ai-2?embed=true&utm_source=badge-featured&utm_medium=badge&utm_souce=badge-mermaid-ai-2"
|
href="https://www.producthunt.com/products/mermaid-chart?utm_source=badge-follow&utm_medium=badge&utm_souce=badge-mermaid-chart"
|
||||||
target="_blank"
|
target="_blank"
|
||||||
><img
|
><img
|
||||||
src="https://api.producthunt.com/widgets/embed-image/v1/featured.svg?post_id=465568&theme=light"
|
src="https://api.producthunt.com/widgets/embed-image/v1/follow.svg?product_id=552855&theme=light"
|
||||||
alt="Mermaid AI - Maximize your diagramming efficiency with Mermaid AI | Product Hunt"
|
alt="Mermaid Chart - A smarter way to create diagrams | Product Hunt"
|
||||||
style="width: 250px; height: 54px"
|
style="width: 250px; height: 54px"
|
||||||
width="250"
|
width="250"
|
||||||
height="54"
|
height="54"
|
||||||
|
@ -9,6 +9,8 @@ import Contributors from '../components/Contributors.vue';
|
|||||||
import HomePage from '../components/HomePage.vue';
|
import HomePage from '../components/HomePage.vue';
|
||||||
// @ts-ignore Type not available
|
// @ts-ignore Type not available
|
||||||
import TopBar from '../components/TopBar.vue';
|
import TopBar from '../components/TopBar.vue';
|
||||||
|
// @ts-ignore Type not available
|
||||||
|
import ProductHuntBadge from '../components/ProductHuntBadge.vue';
|
||||||
import { getRedirect } from './redirect.js';
|
import { getRedirect } from './redirect.js';
|
||||||
// @ts-ignore Type not available
|
// @ts-ignore Type not available
|
||||||
import 'uno.css';
|
import 'uno.css';
|
||||||
@ -23,6 +25,7 @@ export default {
|
|||||||
return h(Theme.Layout, null, {
|
return h(Theme.Layout, null, {
|
||||||
// Keeping this as comment as it took a lot of time to figure out how to add a component to the top bar.
|
// Keeping this as comment as it took a lot of time to figure out how to add a component to the top bar.
|
||||||
'home-hero-before': () => h(TopBar),
|
'home-hero-before': () => h(TopBar),
|
||||||
|
'home-hero-info-before': () => h(ProductHuntBadge),
|
||||||
'home-features-after': () => h(HomePage),
|
'home-features-after': () => h(HomePage),
|
||||||
'doc-before': () => h(TopBar),
|
'doc-before': () => h(TopBar),
|
||||||
});
|
});
|
||||||
|
928
pnpm-lock.yaml
generated
928
pnpm-lock.yaml
generated
File diff suppressed because it is too large
Load Diff
Loading…
x
Reference in New Issue
Block a user