@heliosgraphics/ui 2.0.1-beta.0 → 2.0.1-beta.1

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": "@heliosgraphics/ui",
3
- "version": "2.0.1-beta.0",
3
+ "version": "2.0.1-beta.1",
4
4
  "type": "module",
5
5
  "sideEffects": [
6
6
  "*.css",
@@ -42,7 +42,7 @@
42
42
  "dependencies": {
43
43
  "@heliosgraphics/css": "^1.0.0-alpha.10",
44
44
  "@heliosgraphics/icons": "^1.0.0-beta.0",
45
- "@heliosgraphics/utils": "^6.0.0-alpha.17",
45
+ "@heliosgraphics/utils": "^6.0.0-alpha.18",
46
46
  "marked": "^18.0.3",
47
47
  "marked-linkify-it": "^3.1.15",
48
48
  "marked-xhtml": "^1.0.15",
@@ -31,6 +31,12 @@ describe("markdown", () => {
31
31
  expect(renderMarkdown(BARE_URL_SAMPLE)).toEqual(`<p>Visit https://example.com/path for details.</p>\n`)
32
32
  })
33
33
 
34
+ it("preserves complex emoji clusters", () => {
35
+ const result = renderMarkdown("👩‍💻 ❤️‍🔥 🏳️‍🌈 🧑🏽‍💻")
36
+
37
+ expect(result).toEqual(`<p>👩‍💻 ❤️‍🔥 🏳️‍🌈 🧑🏽‍💻</p>\n`)
38
+ })
39
+
34
40
  it("strips unsafe html from markdown output", () => {
35
41
  const result = renderMarkdown(MALICIOUS_SAMPLE)
36
42