@looker/code-editor 0.1.31 → 0.1.33

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,34 @@
18
18
  * devDependencies
19
19
  * @looker/sdk-codegen bumped from 21.8.2 to 21.9.0
20
20
 
21
+ ## [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)
22
+
23
+
24
+ ### Bug Fixes
25
+
26
+ * 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))
27
+
28
+
29
+ ### Dependencies
30
+
31
+ * The following workspace dependencies were updated
32
+ * devDependencies
33
+ * @looker/sdk-codegen bumped from 21.9.1 to 21.9.2
34
+
35
+ ## [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)
36
+
37
+
38
+ ### Bug Fixes
39
+
40
+ * 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)
41
+
42
+
43
+ ### Dependencies
44
+
45
+ * The following workspace dependencies were updated
46
+ * devDependencies
47
+ * @looker/sdk-codegen bumped from 21.9.0 to 21.9.1
48
+
21
49
  ## [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
50
 
23
51
  ### 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.33",
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.2",
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": "f95fdcebe3e11b4cf1c7d07e26a6b8a153bd074f"
62
62
  }