ropav 0.0.13 → 0.1.1
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/LICENSE +21 -0
- package/README.md +1 -1
- package/dist/card.css +26 -26
- package/dist/card.js +6 -16
- package/dist/components/card/types.d.ts +0 -3
- package/dist/components/dialog/types.d.ts +1 -0
- package/dist/components/dropdown-menu/types.d.ts +2 -6
- package/dist/components/modal/types.d.ts +1 -0
- package/dist/components/overlay/index.d.ts +3 -0
- package/dist/components/overlay/index.js +3 -2
- package/dist/components/overlay/overlay-layer-provider.d.ts +21 -0
- package/dist/components/overlay/types.d.ts +10 -1
- package/dist/components/overlay/useOverlayZIndex.d.ts +4 -0
- package/dist/components/popover/types.d.ts +1 -0
- package/dist/components/toast/types.d.ts +1 -0
- package/dist/components/tooltip/types.d.ts +1 -0
- package/dist/composables/useOverlayLayer.d.ts +1 -1
- package/dist/dialog.js +7 -2
- package/dist/dropdown-menu.js +18 -21
- package/dist/index.js +3 -2
- package/dist/modal.css +28 -28
- package/dist/modal.js +5 -3
- package/dist/overlay2.js +16 -1
- package/dist/popover.js +7 -2
- package/dist/toast.css +21 -21
- package/dist/toast.js +10 -2
- package/dist/tooltip.js +8 -1
- package/dist/{useOverlayLayer.js → useOverlayZIndex.js} +29 -4
- package/docs/public-overlay-layer-api.md +65 -0
- package/docs/public-styles-api.md +1 -5
- package/package.json +38 -41
- package/dist/legacy-unlayered.css +0 -5382
package/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ropav",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.1.1",
|
|
4
|
+
"license": "MIT",
|
|
4
5
|
"type": "module",
|
|
5
|
-
"packageManager": "pnpm@11.10.0",
|
|
6
6
|
"engines": {
|
|
7
7
|
"node": "^20.19.0 || ^22.13.0 || >=24.0.0"
|
|
8
8
|
},
|
|
@@ -164,42 +164,10 @@
|
|
|
164
164
|
"import": "./dist/components/tooltip/index.js"
|
|
165
165
|
},
|
|
166
166
|
"./base.css": "./dist/base.css",
|
|
167
|
-
"./legacy-unlayered.css": "./dist/legacy-unlayered.css",
|
|
168
167
|
"./styles-manifest": "./src/styles/styles-manifest.json",
|
|
169
168
|
"./styles-manifest.json": "./src/styles/styles-manifest.json",
|
|
170
169
|
"./scss/*.scss": "./src/styles/*.scss"
|
|
171
170
|
},
|
|
172
|
-
"scripts": {
|
|
173
|
-
"dev": "pnpm run storybook",
|
|
174
|
-
"tokens:build": "style-dictionary build --config scripts/tokens.config.mjs --silent",
|
|
175
|
-
"tokens:check": "node scripts/check-tokens.mjs",
|
|
176
|
-
"styles:manifest:bootstrap": "node scripts/bootstrap-public-styles-manifest.mjs",
|
|
177
|
-
"typecheck": "vue-tsc -b tsconfig.app.json tsconfig.node.json tsconfig.test.json",
|
|
178
|
-
"typecheck:storybook": "vue-tsc -p tsconfig.storybook.json --noEmit",
|
|
179
|
-
"lint": "oxlint",
|
|
180
|
-
"lint:fix": "oxlint --fix",
|
|
181
|
-
"format": "oxfmt",
|
|
182
|
-
"format:check": "oxfmt --check",
|
|
183
|
-
"test": "vitest run --project=unit",
|
|
184
|
-
"test:consumer-types": "pnpm run test:package",
|
|
185
|
-
"test:consumer-types:built": "tsc -p tests/fixtures/consumer-types/tsconfig.bundler.json && tsc -p tests/fixtures/consumer-types/tsconfig.nodenext.json",
|
|
186
|
-
"test:exports": "pnpm run test:package",
|
|
187
|
-
"test:exports:built": "node scripts/check-exports.mjs",
|
|
188
|
-
"test:consumer-fixture:built": "node tests/fixtures/consumer-app/check.mjs && vue-tsc -p tests/fixtures/consumer-app/tsconfig.json --noEmit && vite build --config tests/fixtures/consumer-app/vite.config.ts && node tests/fixtures/consumer-app/assertions.mjs",
|
|
189
|
-
"test:package": "pnpm run build && pnpm run test:exports:built && pnpm run test:consumer-types:built && pnpm run test:consumer-fixture:built",
|
|
190
|
-
"test:watch": "vitest --project=unit",
|
|
191
|
-
"test:typecheck": "vitest run --project=unit --typecheck",
|
|
192
|
-
"test:storybook": "vitest run --project=storybook",
|
|
193
|
-
"test:all": "pnpm run tokens:check && pnpm test && pnpm test:storybook",
|
|
194
|
-
"build": "pnpm run tokens:build && pnpm run tokens:check && pnpm run typecheck && vite build",
|
|
195
|
-
"prepublishOnly": "pnpm run test:package",
|
|
196
|
-
"preview": "vite preview",
|
|
197
|
-
"storybook": "pnpm run tokens:build && storybook dev -p 6006 --no-open",
|
|
198
|
-
"build-storybook": "pnpm run tokens:build && pnpm run tokens:check && pnpm run typecheck:storybook && storybook build",
|
|
199
|
-
"changelog": "conventional-changelog -p conventionalcommits -i CHANGELOG.md -o CHANGELOG.md",
|
|
200
|
-
"changelog:all": "conventional-changelog -p conventionalcommits -i CHANGELOG.md -o CHANGELOG.md -r 0",
|
|
201
|
-
"release": "pnpm run test:package && bumpp --git-check --all --commit \"chore(release): v%s\" --tag \"v%s\" --execute \"pnpm run changelog\""
|
|
202
|
-
},
|
|
203
171
|
"peerDependencies": {
|
|
204
172
|
"vue": "^3.6.0-beta.4"
|
|
205
173
|
},
|
|
@@ -209,9 +177,9 @@
|
|
|
209
177
|
},
|
|
210
178
|
"devDependencies": {
|
|
211
179
|
"@iconify-json/lucide": "^1.2.117",
|
|
212
|
-
"@storybook/addon-themes": "^10.5.
|
|
213
|
-
"@storybook/addon-vitest": "^10.5.
|
|
214
|
-
"@storybook/vue3-vite": "^10.5.
|
|
180
|
+
"@storybook/addon-themes": "^10.5.2",
|
|
181
|
+
"@storybook/addon-vitest": "^10.5.2",
|
|
182
|
+
"@storybook/vue3-vite": "^10.5.2",
|
|
215
183
|
"@types/node": "^26.1.1",
|
|
216
184
|
"@vitejs/plugin-vue": "^6.0.8",
|
|
217
185
|
"@vitest/browser-playwright": "^4.1.10",
|
|
@@ -224,13 +192,12 @@
|
|
|
224
192
|
"oxfmt": "^0.59.0",
|
|
225
193
|
"oxlint": "^1.74.0",
|
|
226
194
|
"playwright": "^1.61.1",
|
|
227
|
-
"postcss": "^8.5.19",
|
|
228
195
|
"sass-embedded": "^1.100.0",
|
|
229
|
-
"storybook": "^10.5.
|
|
196
|
+
"storybook": "^10.5.2",
|
|
230
197
|
"style-dictionary": "5.5.0",
|
|
231
198
|
"typescript": "~6.0.3",
|
|
232
199
|
"unplugin-icons": "^23.0.1",
|
|
233
|
-
"vite": "^8.1.
|
|
200
|
+
"vite": "^8.1.5",
|
|
234
201
|
"vite-plugin-dts": "^5.0.3",
|
|
235
202
|
"vitest": "^4.1.10",
|
|
236
203
|
"vue": "3.6.0-beta.17",
|
|
@@ -239,5 +206,35 @@
|
|
|
239
206
|
"repository": {
|
|
240
207
|
"type": "git",
|
|
241
208
|
"url": "https://github.com/daopk/ropav"
|
|
209
|
+
},
|
|
210
|
+
"scripts": {
|
|
211
|
+
"dev": "pnpm run storybook",
|
|
212
|
+
"tokens:build": "style-dictionary build --config scripts/tokens.config.mjs --silent",
|
|
213
|
+
"tokens:check": "node scripts/check-tokens.mjs",
|
|
214
|
+
"styles:manifest:bootstrap": "node scripts/bootstrap-public-styles-manifest.mjs",
|
|
215
|
+
"typecheck": "vue-tsc -b tsconfig.app.json tsconfig.node.json tsconfig.test.json",
|
|
216
|
+
"typecheck:storybook": "vue-tsc -p tsconfig.storybook.json --noEmit",
|
|
217
|
+
"lint": "oxlint",
|
|
218
|
+
"lint:fix": "oxlint --fix",
|
|
219
|
+
"format": "oxfmt",
|
|
220
|
+
"format:check": "oxfmt --check",
|
|
221
|
+
"test": "vitest run --project=unit",
|
|
222
|
+
"test:consumer-types": "pnpm run test:package",
|
|
223
|
+
"test:consumer-types:built": "tsc -p tests/fixtures/consumer-types/tsconfig.bundler.json && tsc -p tests/fixtures/consumer-types/tsconfig.nodenext.json",
|
|
224
|
+
"test:exports": "pnpm run test:package",
|
|
225
|
+
"test:exports:built": "node scripts/check-exports.mjs",
|
|
226
|
+
"test:consumer-fixture:built": "node tests/fixtures/consumer-app/check.mjs && vue-tsc -p tests/fixtures/consumer-app/tsconfig.json --noEmit && vite build --config tests/fixtures/consumer-app/vite.config.ts && node tests/fixtures/consumer-app/assertions.mjs",
|
|
227
|
+
"test:package": "pnpm run build && pnpm run test:exports:built && pnpm run test:consumer-types:built && pnpm run test:consumer-fixture:built",
|
|
228
|
+
"test:watch": "vitest --project=unit",
|
|
229
|
+
"test:typecheck": "vitest run --project=unit --typecheck",
|
|
230
|
+
"test:storybook": "vitest run --project=storybook",
|
|
231
|
+
"test:all": "pnpm run tokens:check && pnpm test && pnpm test:storybook",
|
|
232
|
+
"build": "pnpm run tokens:build && pnpm run tokens:check && pnpm run typecheck && vite build",
|
|
233
|
+
"preview": "vite preview",
|
|
234
|
+
"storybook": "pnpm run tokens:build && storybook dev -p 6006 --no-open",
|
|
235
|
+
"build-storybook": "pnpm run tokens:build && pnpm run tokens:check && pnpm run typecheck:storybook && storybook build",
|
|
236
|
+
"changelog": "conventional-changelog -p conventionalcommits -i CHANGELOG.md -o CHANGELOG.md",
|
|
237
|
+
"changelog:all": "conventional-changelog -p conventionalcommits -i CHANGELOG.md -o CHANGELOG.md -r 0",
|
|
238
|
+
"release": "pnpm run test:package && bumpp --git-check --all --commit \"chore(release): v%s\" --tag \"v%s\" --execute \"pnpm run changelog\""
|
|
242
239
|
}
|
|
243
|
-
}
|
|
240
|
+
}
|