@rip-lang/ui 0.4.1 → 0.4.2

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.
@@ -108,6 +108,7 @@ test.describe('overlay primitives', () => {
108
108
  const option = listbox.locator('[role="option"]').nth(2)
109
109
  const status = row.locator('.status')
110
110
 
111
+ await trigger.scrollIntoViewIfNeeded()
111
112
  const triggerCenter = await getCenter(trigger)
112
113
  await page.mouse.move(triggerCenter.x, triggerCenter.y)
113
114
  await page.mouse.down()
@@ -212,14 +213,16 @@ test.describe('overlay primitives', () => {
212
213
  await page.goto('/#multi-select')
213
214
 
214
215
  const input = page.locator('#multi-select [role="combobox"]').first()
215
- await input.focus()
216
- await page.keyboard.press('ArrowDown')
216
+ const chips = page.locator('#multi-select [data-chips]').first()
217
217
  const listbox = page.locator('#multi-select [role="listbox"]').first()
218
+ const firstOption = page.locator('#multi-select [role="option"]').first()
219
+
220
+ await chips.scrollIntoViewIfNeeded()
221
+ await input.fill('r')
218
222
  await expect(listbox).toBeVisible()
219
223
 
220
- const firstOption = page.locator('#multi-select [role="option"]').first()
221
224
  const before = await firstOption.getAttribute('aria-selected')
222
- await page.keyboard.press('Enter')
225
+ await firstOption.click()
223
226
  await expect(firstOption).toHaveAttribute('aria-selected', before === 'true' ? 'false' : 'true')
224
227
  })
225
228
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rip-lang/ui",
3
- "version": "0.4.1",
3
+ "version": "0.4.2",
4
4
  "type": "module",
5
5
  "description": "Unified UI system for Rip — browser widgets, email components, and Tailwind integration",
6
6
  "exports": {
@@ -22,13 +22,13 @@
22
22
  "ui.rip"
23
23
  ],
24
24
  "dependencies": {
25
- "rip-lang": ">=3.13.121",
25
+ "rip-lang": ">=3.13.122",
26
26
  "tailwindcss": "^4",
27
27
  "css-tree": "^3"
28
28
  },
29
29
  "devDependencies": {
30
30
  "@axe-core/playwright": "4.11.1",
31
- "@rip-lang/server": "1.3.115",
31
+ "@rip-lang/server": "1.3.116",
32
32
  "playwright": "1.58.2"
33
33
  },
34
34
  "scripts": {