@redocly/theme-experimental 0.1.36 → 0.1.37

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@redocly/theme-experimental",
3
- "version": "0.1.36",
3
+ "version": "0.1.37",
4
4
  "description": "Experimental UI components lib",
5
5
  "keywords": [
6
6
  "theme-experimental",
@@ -49,8 +49,6 @@
49
49
  "@types/react-dom": "18.2.25",
50
50
  "@types/styled-components": "5.1.34",
51
51
  "@types/styled-system": "5.1.22",
52
- "@typescript-eslint/eslint-plugin": "8.6.0",
53
- "@typescript-eslint/parser": "8.6.0",
54
52
  "chromatic": "6.17.2",
55
53
  "concurrently": "7.6.0",
56
54
  "jest": "29.5.0",
@@ -79,7 +77,7 @@
79
77
  },
80
78
  "dependencies": {
81
79
  "@redocly/config": "0.13.0",
82
- "@redocly/theme": "0.44.4"
80
+ "@redocly/theme": "0.44.5"
83
81
  },
84
82
  "scripts": {
85
83
  "start": "npm-run-all --parallel storybook storybook:tokens:watch",
@@ -42,7 +42,7 @@ export const CodeGuideProvider = ({
42
42
  };
43
43
 
44
44
  // @ts-ignore
45
- // eslint-disable-next-line @typescript-eslint/no-unused-vars
45
+
46
46
  export function useCodeGuideHighlightLines(highlightedLines: string) {}
47
47
 
48
48
  type CodeStepHandlersProps = {
@@ -52,7 +52,7 @@ type CodeStepHandlersProps = {
52
52
  };
53
53
 
54
54
  // @ts-ignore
55
- // eslint-disable-next-line @typescript-eslint/no-unused-vars
55
+
56
56
  export function useCodeStepHandlers({ nodeRef, bindTo, context }: CodeStepHandlersProps): {
57
57
  onScroll: (codeBlock: HTMLPreElement | undefined) => void;
58
58
  activateSection: (file: string, lines: string, codeBlock: HTMLPreElement | undefined) => void;
@@ -67,7 +67,7 @@ export function useCodeStepHandlers({ nodeRef, bindTo, context }: CodeStepHandle
67
67
  };
68
68
 
69
69
  // @ts-ignore
70
- // eslint-disable-next-line @typescript-eslint/no-unused-vars
70
+
71
71
  const activateSection = (file: string, lines: string, codeBlock: HTMLPreElement | undefined) => {
72
72
  codeBlock?.scrollTo(0, 0);
73
73
  };