@open-mercato/ui 0.6.1-develop.3113.9d12cd20b0 → 0.6.1-develop.3115.bc23703ef8

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.1-develop.3113.9d12cd20b0",
3
+ "version": "0.6.1-develop.3115.bc23703ef8",
4
4
  "type": "module",
5
5
  "main": "./dist/index.js",
6
6
  "scripts": {
@@ -140,12 +140,12 @@
140
140
  "remark-gfm": "^4.0.1"
141
141
  },
142
142
  "peerDependencies": {
143
- "@open-mercato/shared": "0.6.1-develop.3113.9d12cd20b0",
143
+ "@open-mercato/shared": "0.6.1-develop.3115.bc23703ef8",
144
144
  "react": ">=18.0.0",
145
145
  "react-dom": ">=18.0.0"
146
146
  },
147
147
  "devDependencies": {
148
- "@open-mercato/shared": "0.6.1-develop.3113.9d12cd20b0",
148
+ "@open-mercato/shared": "0.6.1-develop.3115.bc23703ef8",
149
149
  "@testing-library/dom": "^10.4.1",
150
150
  "@testing-library/jest-dom": "^6.9.1",
151
151
  "@testing-library/react": "^16.3.1",
@@ -114,4 +114,19 @@ describe('Issue #1836: portaled overlay primitives sit above modals (z-popover >
114
114
  expect(popoverZ).toBeLessThan(toastZ)
115
115
  }
116
116
  })
117
+
118
+ it('globals.css explicitly emits the z-popover utility used by portaled UI package overlays', () => {
119
+ const repoRoot = path.resolve(__dirname, '../../../../..')
120
+ const cssPaths = [
121
+ path.join(repoRoot, 'apps/mercato/src/app/globals.css'),
122
+ path.join(repoRoot, 'packages/create-app/template/src/app/globals.css'),
123
+ ]
124
+
125
+ for (const cssPath of cssPaths) {
126
+ const css = fs.readFileSync(cssPath, 'utf8')
127
+
128
+ expect(css).toContain('@utility z-popover')
129
+ expect(css).toContain('z-index: var(--z-index-popover);')
130
+ }
131
+ })
117
132
  })