@celestia-island/hikari 0.55.507 → 0.55.508

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": "@celestia-island/hikari",
3
- "version": "0.55.507",
3
+ "version": "0.55.508",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "description": "Hikari UI library, Vue 3 runtime — one design system for Vue 3 and Rust/WASM applications",
@@ -1,7 +1,7 @@
1
1
  <!doctype html>
2
2
  <html lang="en">
3
3
  <head>
4
- <meta name="hk-error-landing" content="v1 0.55.507 <dev>">
4
+ <meta name="hk-error-landing" content="v1 0.55.508 <dev>">
5
5
  <meta charset="utf-8" />
6
6
  <meta name="viewport" content="width=device-width, initial-scale=1" />
7
7
  <meta name="robots" content="noindex" />
@@ -22,6 +22,11 @@ exports[`mermaid golden snapshots (wasm is the reference) > mermaid: class-basic
22
22
  ],
23
23
  "name": "Animal",
24
24
  },
25
+ {
26
+ "attributes": [],
27
+ "methods": [],
28
+ "name": "Dog",
29
+ },
25
30
  ],
26
31
  "kind": "class",
27
32
  "relationships": [
@@ -64,8 +64,10 @@ describe("wasmMermaidEngine", () => {
64
64
  ) as MermaidClassDoc;
65
65
  expect(doc).not.toBeNull();
66
66
  expect(doc!.kind).toBe("class");
67
- expect(doc!.classes).toHaveLength(1);
68
- expect(doc!.classes[0]!.name).toBe("Animal");
67
+ // MUT:implied-classes — `Dog <|-- Animal` implies Dog (an endpoint is a
68
+ // class even without a `class` block); dropping the pass never passes
69
+ // this length assertion.
70
+ expect(doc!.classes.map((c) => c.name)).toEqual(["Animal", "Dog"]);
69
71
  // Members split: +name is an attribute, +speak() is a method.
70
72
  expect(doc!.classes[0]!.attributes).toHaveLength(1);
71
73
  expect(doc!.classes[0]!.methods).toHaveLength(1);