@hanology/cham-browser 0.4.30 → 0.4.31

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": "@hanology/cham-browser",
3
- "version": "0.4.30",
3
+ "version": "0.4.31",
4
4
  "description": "CHAM — browser-compatible parser, serializer, and site generator for Classical Han Annotated Markdown",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -168,9 +168,8 @@ describe('useAnnotationTooltip', () => {
168
168
  left: 200, top: 300, bottom: 330, right: 250, width: 50, height: 30,
169
169
  })
170
170
  show(createMockEvent(target), [makeAnn({ id: 'a1', kind: 'semantic' })])
171
- // Default layout is vertical — positioned via right + top
172
- expect(style.value.right).toBeTruthy()
173
- expect(style.value.top).toBe('50%')
174
- expect(style.value.transform).toBe('translateY(-50%)')
171
+ // Default layout is vertical — positioned via left + top
172
+ expect(style.value.left).toBeTruthy()
173
+ expect(style.value.top).toBeTruthy()
175
174
  })
176
175
  })