docusaurus-live-brython 3.0.0-beta.13 → 3.0.0-beta.14

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/options.d.ts CHANGED
@@ -41,10 +41,5 @@ export type ThemeOptions = {
41
41
  };
42
42
  export type Options = Partial<ThemeOptions>;
43
43
  export declare const DEFAULT_OPTIONS: ThemeOptions;
44
- export type ThemeData = {
45
- libDir: string;
46
- syncMaxOnceEvery: number;
47
- isHashRouter: boolean;
48
- };
49
44
  export declare function validateThemeConfig({ themeConfig, validate }: ThemeConfigValidationContext<Options, ThemeOptions>): ThemeOptions;
50
45
  //# sourceMappingURL=options.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"options.d.ts","sourceRoot":"","sources":["../src/options.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAIH,OAAO,KAAK,EAAC,4BAA4B,EAAC,MAAM,mBAAmB,CAAC;AAEpE,MAAM,MAAM,YAAY,GAAG;IACvB;;;OAGG;IACH,UAAU,EAAE,MAAM,CAAC;IACnB;;;OAGG;IACH,gBAAgB,EAAE,MAAM,CAAC;IACzB;;;;;;;OAOG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;;;;OAKG;IACH,sBAAsB,EAAE,OAAO,CAAC;IAChC;;;;OAIG;IACH,gBAAgB,EAAE,MAAM,CAAC;CAC5B,CAAA;AAGD,MAAM,MAAM,OAAO,GAAG,OAAO,CAAC,YAAY,CAAC,CAAC;AAE5C,eAAO,MAAM,eAAe,EAAE,YAM7B,CAAC;AAEF,MAAM,MAAM,SAAS,GAAG;IACpB,MAAM,EAAE,MAAM,CAAC;IACf,gBAAgB,EAAE,MAAM,CAAC;IACzB,YAAY,EAAE,OAAO,CAAC;CACzB,CAAA;AAUD,wBAAgB,mBAAmB,CAC/B,EAAC,WAAW,EAAE,QAAQ,EAAC,EAAE,4BAA4B,CAAC,OAAO,EAAE,YAAY,CAAC,GAC7E,YAAY,CAGd"}
1
+ {"version":3,"file":"options.d.ts","sourceRoot":"","sources":["../src/options.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAIH,OAAO,KAAK,EAAC,4BAA4B,EAAC,MAAM,mBAAmB,CAAC;AAEpE,MAAM,MAAM,YAAY,GAAG;IACvB;;;OAGG;IACH,UAAU,EAAE,MAAM,CAAC;IACnB;;;OAGG;IACH,gBAAgB,EAAE,MAAM,CAAC;IACzB;;;;;;;OAOG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;;;;OAKG;IACH,sBAAsB,EAAE,OAAO,CAAC;IAChC;;;;OAIG;IACH,gBAAgB,EAAE,MAAM,CAAC;CAC5B,CAAA;AAGD,MAAM,MAAM,OAAO,GAAG,OAAO,CAAC,YAAY,CAAC,CAAC;AAE5C,eAAO,MAAM,eAAe,EAAE,YAM7B,CAAC;AAUF,wBAAgB,mBAAmB,CAC/B,EAAC,WAAW,EAAE,QAAQ,EAAC,EAAE,4BAA4B,CAAC,OAAO,EAAE,YAAY,CAAC,GAC7E,YAAY,CAGd"}
@@ -7,7 +7,7 @@ import 'rc-slider/assets/index.css';
7
7
  import { useScript, useStore } from '@theme/CodeEditor/hooks';
8
8
  import Translate, { translate } from '@docusaurus/Translate';
9
9
  import Button from '@theme/CodeEditor/Button';
10
- import DiffViewer from 'react-diff-viewer';
10
+ import DiffViewer from 'react-diff-viewer-continued';
11
11
  import Details from '@theme/Details';
12
12
  const highlightSyntax = (str) => {
13
13
  if (!str) {
@@ -1 +1 @@
1
- {"version":3,"file":"Store.d.ts","sourceRoot":"","sources":["../../../../src/theme/CodeEditor/WithScript/Store.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,KAAK,SAAS,EAAE,KAAK,KAAK,EAAE,MAAM,oCAAoC,CAAC;AAIhF,eAAO,MAAM,OAAO;WAA+B,KAAK;EAAyB,CAAC;AAElF,QAAA,MAAM,aAAa,UAAW,SAAS,GAAG;IAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;CAAE,sBAkBvE,CAAA;AAED,eAAe,aAAa,CAAC"}
1
+ {"version":3,"file":"Store.d.ts","sourceRoot":"","sources":["../../../../src/theme/CodeEditor/WithScript/Store.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,KAAK,SAAS,EAAE,KAAK,KAAK,EAAE,MAAM,oCAAoC,CAAC;AAEhF,eAAO,MAAM,OAAO;WAA+B,KAAK;EAAyB,CAAC;AAElF,QAAA,MAAM,aAAa,UAAW,SAAS,GAAG;IAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;CAAE,sBAkBvE,CAAA;AAED,eAAe,aAAa,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "docusaurus-live-brython",
3
- "version": "3.0.0-beta.13",
3
+ "version": "3.0.0-beta.14",
4
4
  "description": "Docusaurus live code block component for python.",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -104,7 +104,7 @@
104
104
  "prism-react-renderer": "^2.3.1",
105
105
  "rc-slider": "^10.6.2",
106
106
  "react-ace": "^11.0.1",
107
- "react-diff-viewer": "^3.1.1",
107
+ "react-diff-viewer-continued": "^3.4.0",
108
108
  "react-draggable": "^4.4.6",
109
109
  "svg-parser": "^2.0.4",
110
110
  "uuid": "^9.0.1"
@@ -7,7 +7,7 @@ import 'rc-slider/assets/index.css';
7
7
  import { useScript, useStore } from '@theme/CodeEditor/hooks';
8
8
  import Translate, { translate } from '@docusaurus/Translate';
9
9
  import Button from '@theme/CodeEditor/Button';
10
- import DiffViewer from 'react-diff-viewer';
10
+ import DiffViewer from 'react-diff-viewer-continued';
11
11
  import Details from '@theme/Details';
12
12
 
13
13
  const highlightSyntax = (str: string) => {