@open-mercato/ui 0.6.4-develop.4358.1.233d5675c7 → 0.6.4-develop.4360.1.568bf6e32b

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": "@open-mercato/ui",
3
- "version": "0.6.4-develop.4358.1.233d5675c7",
3
+ "version": "0.6.4-develop.4360.1.568bf6e32b",
4
4
  "type": "module",
5
5
  "main": "./dist/index.js",
6
6
  "scripts": {
@@ -145,13 +145,13 @@
145
145
  "remark-gfm": "^4.0.1"
146
146
  },
147
147
  "peerDependencies": {
148
- "@open-mercato/shared": "0.6.4-develop.4358.1.233d5675c7",
148
+ "@open-mercato/shared": "0.6.4-develop.4360.1.568bf6e32b",
149
149
  "react": ">=18.0.0",
150
150
  "react-dom": ">=18.0.0",
151
151
  "react-is": ">=18.0.0"
152
152
  },
153
153
  "devDependencies": {
154
- "@open-mercato/shared": "0.6.4-develop.4358.1.233d5675c7",
154
+ "@open-mercato/shared": "0.6.4-develop.4360.1.568bf6e32b",
155
155
  "@testing-library/dom": "^10.4.1",
156
156
  "@testing-library/jest-dom": "^6.9.1",
157
157
  "@testing-library/react": "^16.3.1",
@@ -153,7 +153,7 @@ describe('CommandMenu', () => {
153
153
  const onSelectMonday = jest.fn()
154
154
  render(<ExampleMenu onSelectMonday={onSelectMonday} />)
155
155
  const items = document.querySelectorAll('[data-slot="command-menu-item"]') as NodeListOf<HTMLElement>
156
- const monday = Array.from(items).find((el) => el.textContent?.includes('Monday.com')) as HTMLElement
156
+ const monday = Array.from(items).find((el) => el.textContent?.trim() === 'Monday.com') as HTMLElement
157
157
  expect(monday).toBeTruthy()
158
158
  fireEvent.click(monday)
159
159
  expect(onSelectMonday).toHaveBeenCalledTimes(1)