@looker/code-editor 0.1.31 → 0.1.34

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/CHANGELOG.md CHANGED
@@ -18,6 +18,40 @@
18
18
  * devDependencies
19
19
  * @looker/sdk-codegen bumped from 21.8.2 to 21.9.0
20
20
 
21
+ ### Dependencies
22
+
23
+ * The following workspace dependencies were updated
24
+ * devDependencies
25
+ * @looker/sdk-codegen bumped from 21.9.2 to 21.9.3
26
+
27
+ ## [0.1.33](https://github.com/looker-open-source/sdk-codegen/compare/code-editor-v0.1.32...code-editor-v0.1.33) (2024-09-14)
28
+
29
+
30
+ ### Bug Fixes
31
+
32
+ * fix release 24.16.2 ([#1505](https://github.com/looker-open-source/sdk-codegen/issues/1505)) ([1cd1806](https://github.com/looker-open-source/sdk-codegen/commit/1cd180615901d2daf1fb112b41f2a72d2caacf61))
33
+
34
+
35
+ ### Dependencies
36
+
37
+ * The following workspace dependencies were updated
38
+ * devDependencies
39
+ * @looker/sdk-codegen bumped from 21.9.1 to 21.9.2
40
+
41
+ ## [0.1.32](https://github.com/looker-open-source/sdk-codegen/compare/code-editor-v0.1.31...code-editor-v0.1.32) (2024-09-11)
42
+
43
+
44
+ ### Bug Fixes
45
+
46
+ * Remove the requests package from the TypeScript SDK ([#1491](https://github.com/looker-open-source/sdk-codegen/issues/1491)) ([670377c](https://github.com/looker-open-source/sdk-codegen/commit/670377c46a546bbd8dcc6679b8aeb041da1b4670)), closes [#1439](https://github.com/looker-open-source/sdk-codegen/issues/1439)
47
+
48
+
49
+ ### Dependencies
50
+
51
+ * The following workspace dependencies were updated
52
+ * devDependencies
53
+ * @looker/sdk-codegen bumped from 21.9.0 to 21.9.1
54
+
21
55
  ## [0.1.28](https://github.com/looker-open-source/sdk-codegen/compare/code-editor-v0.1.27...code-editor-v0.1.28) (2023-02-22)
22
56
 
23
57
  ### Features
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  export interface CodeDisplayProps {
3
2
  code: string;
4
3
  language?: string;
@@ -4,24 +4,24 @@ export declare const getPrismLanguage: (language: string) => Language;
4
4
  export declare const getOverriddenTheme: (transparent: boolean, inline: boolean) => {
5
5
  plain: {
6
6
  [styleKey: string]: string | number | void;
7
- color?: string | undefined;
8
- backgroundColor?: string | undefined;
9
- fontStyle?: "normal" | "italic" | undefined;
10
- fontWeight?: "normal" | "bold" | "100" | "200" | "300" | "400" | "500" | "600" | "700" | "800" | "900" | undefined;
11
- textDecorationLine?: "none" | "underline" | "line-through" | "underline line-through" | undefined;
12
- opacity?: number | undefined;
7
+ color?: string;
8
+ backgroundColor?: string;
9
+ fontStyle?: "normal" | "italic";
10
+ fontWeight?: "normal" | "bold" | "100" | "200" | "300" | "400" | "500" | "600" | "700" | "800" | "900";
11
+ textDecorationLine?: "none" | "underline" | "line-through" | "underline line-through";
12
+ opacity?: number;
13
13
  };
14
- styles: {
14
+ styles: Array<{
15
15
  types: string[];
16
16
  style: {
17
17
  [styleKey: string]: string | number | void;
18
- color?: string | undefined;
19
- backgroundColor?: string | undefined;
20
- fontStyle?: "normal" | "italic" | undefined;
21
- fontWeight?: "normal" | "bold" | "100" | "200" | "300" | "400" | "500" | "600" | "700" | "800" | "900" | undefined;
22
- textDecorationLine?: "none" | "underline" | "line-through" | "underline line-through" | undefined;
23
- opacity?: number | undefined;
18
+ color?: string;
19
+ backgroundColor?: string;
20
+ fontStyle?: "normal" | "italic";
21
+ fontWeight?: "normal" | "bold" | "100" | "200" | "300" | "400" | "500" | "600" | "700" | "800" | "900";
22
+ textDecorationLine?: "none" | "underline" | "line-through" | "underline line-through";
23
+ opacity?: number;
24
24
  };
25
- languages?: Language[] | undefined;
26
- }[];
25
+ languages?: Language[];
26
+ }>;
27
27
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@looker/code-editor",
3
- "version": "0.1.31",
3
+ "version": "0.1.34",
4
4
  "description": "A syntax highlighter Viewer and Editor for Looker SDK supported languages.",
5
5
  "main": "lib/index.js",
6
6
  "module": "lib/esm/index.js",
@@ -30,7 +30,7 @@
30
30
  },
31
31
  "devDependencies": {
32
32
  "@looker/components-test-utils": "^1.5.27",
33
- "@looker/sdk-codegen": "21.9.0",
33
+ "@looker/sdk-codegen": "21.9.3",
34
34
  "@testing-library/jest-dom": "5.16.5",
35
35
  "@testing-library/react": "12.1.5",
36
36
  "@testing-library/user-event": "13.1.5",
@@ -58,5 +58,5 @@
58
58
  "react-simple-code-editor": "^0.11.0",
59
59
  "styled-components": "^5.3.1"
60
60
  },
61
- "gitHead": "0c6b5c02305ad67f559213a281667ba5cbb3b3c3"
61
+ "gitHead": "e7e30025690483553a16231c9218cd6f7e65a59b"
62
62
  }