Skip to content

Commit

Permalink
Merge pull request #562 from nunocoracao/561-update-hugo-version-to-v…
Browse files Browse the repository at this point in the history
…01111

⬆️ Update Hugo Version to v0.111.1
  • Loading branch information
nunocoracao authored Mar 2, 2023
2 parents c98b93b + 7740790 commit fc23517
Show file tree
Hide file tree
Showing 547 changed files with 514,370 additions and 1,604 deletions.
6 changes: 4 additions & 2 deletions assets/js/mermaid.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ function css(name) {
return "rgb(" + getComputedStyle(document.documentElement).getPropertyValue(name) + ")";
}

mermaid.initialize({
/*mermaid.initialize({
theme: "base",
themeVariables: {
background: css("--color-neutral"),
Expand All @@ -17,4 +17,6 @@ mermaid.initialize({
"ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,segoe ui,Roboto,helvetica neue,Arial,noto sans,sans-serif",
fontSize: "16px",
},
});
});*/

mermaid.initialize({ startOnLoad: true });
16 changes: 16 additions & 0 deletions assets/lib/mermaid/Diagram.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
import { DetailedError } from './utils';
export declare type ParseErrorFunction = (err: string | DetailedError | unknown, hash?: any) => void;
export declare class Diagram {
text: string;
type: string;
parser: any;
renderer: any;
db: import("./diagram-api/types").DiagramDb;
private detectError?;
constructor(text: string);
parse(): void;
render(id: string, version: string): Promise<void>;
getParser(): any;
getType(): string;
}
export declare const getDiagramFromText: (text: string) => Promise<Diagram>;
14 changes: 14 additions & 0 deletions assets/lib/mermaid/__mocks__/mermaidAPI.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
export declare const mermaidAPI: {
render: import("@vitest/spy").Mock<any[], any>;
parse: (text: string, parseOptions?: import("../mermaidAPI").ParseOptions | undefined) => Promise<boolean | void>;
parseDirective: import("@vitest/spy").Mock<any[], any>;
initialize: import("@vitest/spy").Mock<any[], any>;
getConfig: () => import("../config.type").MermaidConfig;
setConfig: (conf: import("../config.type").MermaidConfig) => import("../config.type").MermaidConfig;
getSiteConfig: () => import("../config.type").MermaidConfig;
updateSiteConfig: (conf: import("../config.type").MermaidConfig) => import("../config.type").MermaidConfig;
reset: () => void;
globalReset: () => void;
defaultConfig: import("../config.type").MermaidConfig;
};
export default mermaidAPI;
27 changes: 27 additions & 0 deletions assets/lib/mermaid/accessibility.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
/**
* Accessibility (a11y) functions, types, helpers
* @see https://www.w3.org/WAI/
* @see https://www.w3.org/TR/wai-aria-1.1/
* @see https://www.w3.org/TR/svg-aam-1.0/
*
*/
import { D3Element } from './mermaidAPI';
/**
* Add role and aria-roledescription to the svg element
*
* @param svg - d3 object that contains the SVG HTML element
* @param diagramType - diagram name for to the aria-roledescription
*/
export declare function setA11yDiagramInfo(svg: D3Element, diagramType: string | null | undefined): void;
/**
* Add an accessible title and/or description element to a chart.
* The title is usually not displayed and the description is never displayed.
*
* The following charts display their title as a visual and accessibility element: gantt
*
* @param svg - d3 node to insert the a11y title and desc info
* @param a11yTitle - a11y title. null and undefined are meaningful: means to skip it
* @param a11yDesc - a11y description. null and undefined are meaningful: means to skip it
* @param baseId - id used to construct the a11y title and description id
*/
export declare function addSVGa11yTitleDescription(svg: D3Element, a11yTitle: string | null | undefined, a11yDesc: string | null | undefined, baseId: string): void;
1 change: 1 addition & 0 deletions assets/lib/mermaid/accessibility.spec.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export {};
1,705 changes: 1,705 additions & 0 deletions assets/lib/mermaid/add-html-label-3fd8c466.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions assets/lib/mermaid/add-html-label-3fd8c466.js.map

Large diffs are not rendered by default.

1,145 changes: 1,145 additions & 0 deletions assets/lib/mermaid/add-html-label-6e56ed67.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions assets/lib/mermaid/add-html-label-6e56ed67.js.map

Large diffs are not rendered by default.

1,145 changes: 1,145 additions & 0 deletions assets/lib/mermaid/add-html-label-ce7f9292.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions assets/lib/mermaid/add-html-label-ce7f9292.js.map

Large diffs are not rendered by default.

1,705 changes: 1,705 additions & 0 deletions assets/lib/mermaid/add-html-label-f3a0bd34.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions assets/lib/mermaid/add-html-label-f3a0bd34.js.map

Large diffs are not rendered by default.

85 changes: 85 additions & 0 deletions assets/lib/mermaid/arc-1bd4335b.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions assets/lib/mermaid/arc-1bd4335b.js.map

Large diffs are not rendered by default.

145 changes: 145 additions & 0 deletions assets/lib/mermaid/arc-7c943a40.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit fc23517

Please sign in to comment.