Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .changeset/cool-popups-stay-open.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@inkcre/ui-web": minor
---

Add modeless InkPopup rendering through the backward-compatible `scrim` prop.
4 changes: 3 additions & 1 deletion AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,6 @@ This repository owns the InKCre design system and UI libraries.

- Package manager is PNPM
- Use changeset to summarize your changes (run `pnpm changeset` after you made changes.)
- Run tests and build to verify your changes if possible.
- Follow the organization-wide [Verification and Test Policy](https://github.com/InKCre/.github/blob/main/TESTING.md).
This repository prefers type-check, lint, generated-contract checks, story builds, and real
consuming-page review; it currently admits no automated unit/component suite.
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,13 @@
"tokens:update": "tsx scripts/prepare-token-update.ts apply",
"type-check": "pnpm type-check:root && pnpm --filter @inkcre/ui-web type-check",
"type-check:root": "tsc --noEmit",
"test": "pnpm --filter @inkcre/ui-web test",
"story": "pnpm --filter @inkcre/ui-web story:build",
"story:dev": "pnpm --filter @inkcre/ui-web story:dev",
"check:skills": "pnpm --filter @inkcre/ui-web skill:generate:check && pnpm --filter @inkcre/ui-web skill:validate",
"format": "oxfmt .oxfmtrc.json package.json pnpm-workspace.yaml tsconfig.json scripts .github/workflows/*.yml README.md && pnpm --filter @inkcre/ui-web format",
"format:check": "oxfmt --check .oxfmtrc.json package.json pnpm-workspace.yaml tsconfig.json scripts .github/workflows/*.yml README.md && pnpm --filter @inkcre/ui-web format:check",
"lint": "oxlint --deny-warnings scripts && pnpm --filter @inkcre/ui-web lint",
"check": "pnpm format:check && pnpm lint && pnpm check:generated && pnpm check:skills && pnpm check:stories && pnpm check:token-workflow && pnpm type-check && pnpm test && pnpm build && pnpm check:package && pnpm story",
"check": "pnpm format:check && pnpm lint && pnpm check:generated && pnpm check:skills && pnpm check:stories && pnpm check:token-workflow && pnpm type-check && pnpm build && pnpm check:package && pnpm story",
"changeset": "changeset",
"changeset:add": "changeset add",
"changeset:version": "changeset version && pnpm build-package-metadata",
Expand Down
2 changes: 1 addition & 1 deletion packages/web/.oxlintrc.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"$schema": "../../node_modules/oxlint/configuration_schema.json",
"plugins": ["eslint", "oxc", "typescript", "unicorn", "vue", "vitest"],
"plugins": ["eslint", "oxc", "typescript", "unicorn", "vue"],
"options": {
"denyWarnings": true,
"reportUnusedDisableDirectives": "error"
Expand Down
17 changes: 4 additions & 13 deletions packages/web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -84,21 +84,17 @@
"build:skills": "pnpm run skill:generate:check",
"clean": "rimraf dist",
"preview": "vite preview",
"format": "oxfmt --config .oxfmtrc.json src stories styles .oxfmtrc.json .oxlintrc.json package.json skill.seed.json component-manifest.json component-manifest.schema.json tsconfig.json tsconfig.build.json tsconfig.check.json tsconfig.exports.json env.d.ts histoire.config.ts uno.config.ts vite.config.js vite.subpaths.config.js vitest.config.ts",
"format:check": "oxfmt --check --config .oxfmtrc.json src stories styles .oxfmtrc.json .oxlintrc.json package.json skill.seed.json component-manifest.json component-manifest.schema.json tsconfig.json tsconfig.build.json tsconfig.check.json tsconfig.exports.json env.d.ts histoire.config.ts uno.config.ts vite.config.js vite.subpaths.config.js vitest.config.ts",
"lint": "oxlint --config .oxlintrc.json src stories histoire.config.ts uno.config.ts vite.config.js vite.subpaths.config.js vitest.config.ts",
"format": "oxfmt --config .oxfmtrc.json src stories styles .oxfmtrc.json .oxlintrc.json package.json skill.seed.json component-manifest.json component-manifest.schema.json tsconfig.json tsconfig.build.json tsconfig.check.json tsconfig.exports.json env.d.ts histoire.config.ts uno.config.ts vite.config.js vite.subpaths.config.js",
"format:check": "oxfmt --check --config .oxfmtrc.json src stories styles .oxfmtrc.json .oxlintrc.json package.json skill.seed.json component-manifest.json component-manifest.schema.json tsconfig.json tsconfig.build.json tsconfig.check.json tsconfig.exports.json env.d.ts histoire.config.ts uno.config.ts vite.config.js vite.subpaths.config.js",
"lint": "oxlint --config .oxlintrc.json src stories histoire.config.ts uno.config.ts vite.config.js vite.subpaths.config.js",
"lint:fix": "pnpm run lint --fix",
"skill:generate": "tsx ../../scripts/build-agent-skills.ts",
"skill:generate:check": "tsx ../../scripts/build-agent-skills.ts --check",
"skill:validate": "intent validate",
"story:dev": "histoire dev",
"story:build": "histoire build",
"story:preview": "histoire preview",
"type-check": "vue-tsc --noEmit -p tsconfig.check.json",
"test": "vitest run",
"test:watch": "vitest",
"test:ui": "vitest --ui",
"test:coverage": "vitest --coverage"
"type-check": "vue-tsc --noEmit -p tsconfig.check.json"
},
"dependencies": {
"@vue/shared": "3.5.25"
Expand All @@ -116,21 +112,16 @@
"@unocss/preset-icons": "^66.5.10",
"@unocss/preset-wind3": "^66.5.10",
"@vitejs/plugin-vue": "^6.0.3",
"@vitest/coverage-v8": "^4.0.15",
"@vitest/ui": "^4.0.15",
"@vue/test-utils": "^2.4.6",
"@vueuse/core": "^14.1.0",
"cpr": "^3.0.1",
"dayjs": "^1.11.19",
"happy-dom": "^20.0.11",
"histoire": "1.0.0-alpha.5",
"rimraf": "^6.0.1",
"rollup-plugin-visualizer": "^6.0.5",
"sass": "^1.94.2",
"unocss": "^66.5.10",
"vite": "^7.2.7",
"vite-plugin-dts": "^4.5.4",
"vitest": "^4.0.15",
"vscode-json-languageservice": "^5.6.4",
"vscode-languageserver-textdocument": "^1.0.12",
"vue": "^3.4.0",
Expand Down
4 changes: 2 additions & 2 deletions packages/web/skills/ui-web/references/components/InkPopup.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,11 @@
## Public API Facts

- Import: `import { InkPopup } from "@inkcre/ui-web";`
- Props: `closeOnScrim`, `position`
- Props: `closeOnScrim`, `position`, `scrim`
- Events: `scrim-click`
- Slots: `default`
- Public types: None
- Story variants: `Default Popup`
- Story variants: `Default Popup`, `Modeless Popup`

## API Caveats

Expand Down
212 changes: 0 additions & 212 deletions packages/web/src/components/inkAutoForm/inkAutoForm.test.ts

This file was deleted.

78 changes: 0 additions & 78 deletions packages/web/src/components/inkButton/inkButton.test.ts

This file was deleted.

Loading