@patternfly/react-code-editor 4.47.3 → 4.47.6

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
@@ -3,6 +3,33 @@
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
+ ## 4.47.6 (2022-04-27)
7
+
8
+ **Note:** Version bump only for package @patternfly/react-code-editor
9
+
10
+
11
+
12
+
13
+
14
+ ## 4.47.5 (2022-04-26)
15
+
16
+ **Note:** Version bump only for package @patternfly/react-code-editor
17
+
18
+
19
+
20
+
21
+
22
+ ## 4.47.4 (2022-04-25)
23
+
24
+
25
+ ### Bug Fixes
26
+
27
+ * **DateTimePicker:** update date placeholder ([#7266](https://github.com/patternfly/patternfly-react/issues/7266)) ([4e9a73e](https://github.com/patternfly/patternfly-react/commit/4e9a73e8f7645b7a885d15754f99b9e078449806))
28
+
29
+
30
+
31
+
32
+
6
33
  ## 4.47.3 (2022-04-23)
7
34
 
8
35
  **Note:** Version bump only for package @patternfly/react-code-editor
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@patternfly/react-code-editor",
3
- "version": "4.47.3",
3
+ "version": "4.47.6",
4
4
  "description": "This package provides a PatternFly wrapper for the Monaco code editor\n",
5
5
  "main": "dist/js/index.js",
6
6
  "module": "dist/esm/index.js",
@@ -30,9 +30,9 @@
30
30
  "clean": "rimraf dist"
31
31
  },
32
32
  "dependencies": {
33
- "@patternfly/react-core": "^4.206.3",
34
- "@patternfly/react-icons": "^4.57.3",
35
- "@patternfly/react-styles": "^4.56.3",
33
+ "@patternfly/react-core": "^4.206.6",
34
+ "@patternfly/react-icons": "^4.57.6",
35
+ "@patternfly/react-styles": "^4.56.6",
36
36
  "react-dropzone": "9.0.0",
37
37
  "tslib": "^2.0.0"
38
38
  },
@@ -46,5 +46,5 @@
46
46
  "rimraf": "^2.6.2",
47
47
  "typescript": "^4.0.0"
48
48
  },
49
- "gitHead": "626f964eb2406efd476a85071138f088cad6b042"
49
+ "gitHead": "5e76a80a71eb15e178e22d50d422768884af51b2"
50
50
  }
@@ -8,12 +8,12 @@ describe('CodeEditor', () => {
8
8
  });
9
9
 
10
10
  test('matches snapshot without props', () => {
11
- const view = render(<CodeEditor />);
12
- expect(view.container).toMatchSnapshot();
11
+ const { asFragment } = render(<CodeEditor />);
12
+ expect(asFragment()).toMatchSnapshot();
13
13
  });
14
14
 
15
15
  test('matches snapshot with all props', () => {
16
- const view = render(
16
+ const { asFragment } = render(
17
17
  <CodeEditor
18
18
  isReadOnly
19
19
  isDarkTheme
@@ -27,6 +27,6 @@ describe('CodeEditor', () => {
27
27
  language={Language.javascript}
28
28
  />
29
29
  );
30
- expect(view.container).toMatchSnapshot();
30
+ expect(asFragment()).toMatchSnapshot();
31
31
  });
32
32
  });
@@ -1,7 +1,7 @@
1
1
  // Jest Snapshot v1, https://goo.gl/fbAQLP
2
2
 
3
3
  exports[`CodeEditor matches snapshot with all props 1`] = `
4
- <div>
4
+ <DocumentFragment>
5
5
  <div
6
6
  class="pf-c-code-editor pf-m-read-only"
7
7
  >
@@ -342,11 +342,11 @@ exports[`CodeEditor matches snapshot with all props 1`] = `
342
342
  </div>
343
343
  </div>
344
344
  </div>
345
- </div>
345
+ </DocumentFragment>
346
346
  `;
347
347
 
348
348
  exports[`CodeEditor matches snapshot without props 1`] = `
349
- <div>
349
+ <DocumentFragment>
350
350
  <div
351
351
  class="pf-c-code-editor"
352
352
  >
@@ -574,5 +574,5 @@ exports[`CodeEditor matches snapshot without props 1`] = `
574
574
  </div>
575
575
  </div>
576
576
  </div>
577
- </div>
577
+ </DocumentFragment>
578
578
  `;