@codecademy/codebytes 0.1.1-alpha.d70fea.0 → 0.2.1-alpha.7386df.0
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 +10 -1
- package/package.json +2 -2
- package/src/MonacoEditor/index.tsx +1 -1
- package/src/index.tsx +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
-
### [0.
|
|
6
|
+
### [0.2.1-alpha.7386df.0](https://github.com/Codecademy/client-modules/compare/@codecademy/codebytes@0.2.0...@codecademy/codebytes@0.2.1-alpha.7386df.0) (2022-01-05)
|
|
7
7
|
|
|
8
8
|
**Note:** Version bump only for package @codecademy/codebytes
|
|
9
9
|
|
|
@@ -11,6 +11,15 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
11
11
|
|
|
12
12
|
|
|
13
13
|
|
|
14
|
+
## [0.2.0](https://github.com/Codecademy/client-modules/compare/@codecademy/codebytes@0.1.0...@codecademy/codebytes@0.2.0) (2022-01-04)
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
### Features
|
|
18
|
+
|
|
19
|
+
* **Codebytes:** add editor and drawers disc 351 ([#14](https://github.com/Codecademy/client-modules/issues/14)) ([e84e265](https://github.com/Codecademy/client-modules/commit/e84e265e4cf4bf8360830ebf2dbea930ab503c9c))
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
14
23
|
## 0.1.0 (2021-12-17)
|
|
15
24
|
|
|
16
25
|
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@codecademy/codebytes",
|
|
3
3
|
"description": "Codebytes Code Editor",
|
|
4
|
-
"version": "0.
|
|
4
|
+
"version": "0.2.1-alpha.7386df.0",
|
|
5
5
|
"author": "Codecademy Engineering <dev@codecademy.com>",
|
|
6
6
|
"sideEffects": [
|
|
7
7
|
"**/*.css",
|
|
@@ -50,5 +50,5 @@
|
|
|
50
50
|
"publishConfig": {
|
|
51
51
|
"access": "public"
|
|
52
52
|
},
|
|
53
|
-
"gitHead": "
|
|
53
|
+
"gitHead": "b46e91d88ac0844c7f4d71856806785aab64cdc6"
|
|
54
54
|
}
|
package/src/index.tsx
CHANGED
|
@@ -14,7 +14,7 @@ export interface CodeByteEditorProps {
|
|
|
14
14
|
hideCopyButton: boolean;
|
|
15
15
|
onCopy?: (text: string, language: string) => void;
|
|
16
16
|
isIFrame?: boolean;
|
|
17
|
-
snippetsBaseUrl?: string
|
|
17
|
+
snippetsBaseUrl?: string /* TODO in DISC-353: Determine best way to host and include snippets endpoint for both staging and production in both the monolith and next.js repo. */;
|
|
18
18
|
onTextChange?: (text: string) => void;
|
|
19
19
|
}
|
|
20
20
|
|
|
@@ -27,8 +27,8 @@ const editorBaseStyles = system.css({
|
|
|
27
27
|
borderColor: 'gray-900',
|
|
28
28
|
display: 'flex',
|
|
29
29
|
flexDirection: 'column',
|
|
30
|
-
height: '
|
|
31
|
-
width: '
|
|
30
|
+
height: '25rem',
|
|
31
|
+
width: '43rem',
|
|
32
32
|
overflow: 'hidden',
|
|
33
33
|
});
|
|
34
34
|
export interface EditorStyleProps
|