@sanity/ui-workshop
Advanced tools
Comparing version 2.0.12 to 2.0.13
@@ -816,3 +816,2 @@ import { jsxs, jsx, Fragment } from "react/jsx-runtime"; | ||
constrainSize: !0, | ||
matchReferenceWidth: !0, | ||
placement: "bottom", | ||
@@ -834,3 +833,2 @@ portal: !0 | ||
padding: 2, | ||
style: { minWidth: 80 }, | ||
text: (_a = VIEWPORT_OPTIONS.find((o) => o.name === viewport)) == null ? void 0 : _a.title | ||
@@ -864,3 +862,2 @@ } | ||
constrainSize: !0, | ||
matchReferenceWidth: !0, | ||
placement: "bottom", | ||
@@ -882,3 +879,2 @@ portal: !0 | ||
padding: 2, | ||
style: { minWidth: 80 }, | ||
text: (_a = ZOOM_OPTIONS.find((o) => o.value === zoom)) == null ? void 0 : _a.title | ||
@@ -885,0 +881,0 @@ } |
@@ -66,3 +66,3 @@ /// <reference types="react" /> | ||
id: string | ||
phase: 'mount' | 'update' | ||
phase: 'mount' | 'update' | 'nested-update' | ||
actualDuration: number | ||
@@ -72,2 +72,3 @@ baseDuration: number | ||
commitTime: number | ||
/** @deprecated */ | ||
interactions: Set<{ | ||
@@ -74,0 +75,0 @@ __count: number |
@@ -18,3 +18,3 @@ import { jsx, Fragment, jsxs } from "react/jsx-runtime"; | ||
), handleRender = useCallback( | ||
(id, phase, actualDuration, baseDuration, startTime, commitTime, interactions) => { | ||
(id, phase, actualDuration, baseDuration, startTime, commitTime) => { | ||
const result = { | ||
@@ -27,3 +27,3 @@ id, | ||
commitTime, | ||
interactions | ||
interactions: /* @__PURE__ */ new Set() | ||
}; | ||
@@ -30,0 +30,0 @@ setTimeout(() => { |
{ | ||
"name": "@sanity/ui-workshop", | ||
"version": "2.0.12", | ||
"version": "2.0.13", | ||
"keywords": [ | ||
@@ -28,3 +28,2 @@ "sanity", | ||
"source": "./exports/index.ts", | ||
"import": "./dist/index.js", | ||
"require": "./dist/index.cjs", | ||
@@ -35,3 +34,2 @@ "default": "./dist/index.js" | ||
"source": "./exports/plugin-a11y.ts", | ||
"import": "./dist/plugin-a11y.js", | ||
"require": "./dist/plugin-a11y.cjs", | ||
@@ -42,3 +40,2 @@ "default": "./dist/plugin-a11y.js" | ||
"source": "./exports/plugin-perf.ts", | ||
"import": "./dist/plugin-perf.js", | ||
"require": "./dist/plugin-perf.cjs", | ||
@@ -49,3 +46,2 @@ "default": "./dist/plugin-perf.js" | ||
"source": "./exports/runtime.ts", | ||
"import": "./dist/runtime.js", | ||
"require": "./dist/runtime.cjs", | ||
@@ -58,3 +54,2 @@ "default": "./dist/runtime.js" | ||
"module": "./dist/index.js", | ||
"source": "./exports/index.ts", | ||
"types": "./dist/index.d.ts", | ||
@@ -83,5 +78,4 @@ "typesVersions": { | ||
"scripts": { | ||
"build": "run-s clean build:pkg check:pkg", | ||
"build:pkg": "pkg build", | ||
"check:pkg": "pkg --strict", | ||
"build": "run-s clean pkg:build", | ||
"pkg:build": "pkg build --check --strict", | ||
"ts:check": "tsc --build", | ||
@@ -102,3 +96,2 @@ "clean": "rimraf .workshop dist", | ||
}, | ||
"browserslist": "extends @sanity/browserslist-config", | ||
"commitlint": { | ||
@@ -114,2 +107,3 @@ "extends": [ | ||
}, | ||
"browserslist": "extends @sanity/browserslist-config", | ||
"release": { | ||
@@ -136,3 +130,3 @@ "branches": [ | ||
"cpx": "^1.5.0", | ||
"dotenv-flow": "^4.0.1", | ||
"dotenv-flow": "^4.1.0", | ||
"esbuild": "^0.20.2", | ||
@@ -147,21 +141,21 @@ "esbuild-register": "^3.5.0", | ||
"segmented-property": "^4.0.0", | ||
"vite": "^5.2.8" | ||
"vite": "^5.2.11" | ||
}, | ||
"devDependencies": { | ||
"@commitlint/config-conventional": "^19.1.0", | ||
"@sanity/icons": "^2.11.7", | ||
"@sanity/pkg-utils": "^6.1.0", | ||
"@commitlint/config-conventional": "^19.2.2", | ||
"@sanity/icons": "^2.11.8", | ||
"@sanity/pkg-utils": "^6.8.10", | ||
"@sanity/semantic-release-preset": "^4.1.7", | ||
"@sanity/ui": "^2.1.0", | ||
"@sanity/ui": "^2.1.4", | ||
"@types/cpx": "^1.5.5", | ||
"@types/express": "^4.17.21", | ||
"@types/lodash": "^4.17.0", | ||
"@types/node": "^20.10.0", | ||
"@types/node": "^20.12.8", | ||
"@types/pako": "^2.0.3", | ||
"@types/react": "^18.2.75", | ||
"@types/react-dom": "^18.2.24", | ||
"@typescript-eslint/eslint-plugin": "^7.6.0", | ||
"@typescript-eslint/parser": "^7.6.0", | ||
"@types/react": "^18.3.1", | ||
"@types/react-dom": "^18.3.0", | ||
"@typescript-eslint/eslint-plugin": "^7.8.0", | ||
"@typescript-eslint/parser": "^7.8.0", | ||
"commitizen": "^4.3.0", | ||
"commitlint": "^19.2.1", | ||
"commitlint": "^19.3.0", | ||
"eslint": "^8.57.0", | ||
@@ -173,17 +167,17 @@ "eslint-config-prettier": "^9.1.0", | ||
"eslint-plugin-react": "^7.34.1", | ||
"eslint-plugin-react-hooks": "^4.6.0", | ||
"eslint-plugin-simple-import-sort": "^12.0.0", | ||
"eslint-plugin-react-hooks": "^4.6.2", | ||
"eslint-plugin-simple-import-sort": "^12.1.0", | ||
"http-server": "^14.1.1", | ||
"husky": "^8.0.3", | ||
"jsdom": "^22.1.0", | ||
"npm-run-all2": "^5.0.2", | ||
"npm-run-all2": "^6.1.2", | ||
"prettier": "^3.2.5", | ||
"prettier-plugin-packagejson": "^2.4.14", | ||
"react": "^18.2.0", | ||
"react-dom": "^18.2.0", | ||
"semantic-release": "^23.0.7", | ||
"styled-components": "^6.1.8", | ||
"prettier-plugin-packagejson": "^2.5.0", | ||
"react": "^18.3.1", | ||
"react-dom": "^18.3.1", | ||
"semantic-release": "^23.0.8", | ||
"styled-components": "^6.1.9", | ||
"tsconfig-paths": "^4.2.0", | ||
"typescript": "^5.4.2", | ||
"vitest": "^1.4.0" | ||
"typescript": "^5.4.5", | ||
"vitest": "^1.5.3" | ||
}, | ||
@@ -197,3 +191,3 @@ "peerDependencies": { | ||
}, | ||
"packageManager": "pnpm@8.15.6", | ||
"packageManager": "pnpm@9.0.1", | ||
"publishConfig": { | ||
@@ -200,0 +194,0 @@ "access": "public" |
@@ -39,3 +39,3 @@ /** @beta */ | ||
id: string | ||
phase: 'mount' | 'update' | ||
phase: 'mount' | 'update' | 'nested-update' | ||
actualDuration: number | ||
@@ -45,2 +45,3 @@ baseDuration: number | ||
commitTime: number | ||
/** @deprecated */ | ||
interactions: Set<{ | ||
@@ -47,0 +48,0 @@ __count: number |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
664352
8748
+ Added@sanity/ui@2.8.21(transitive)
+ Addedelectron-to-chromium@1.5.54(transitive)
- Removed@sanity/ui@2.8.20(transitive)
- Removedelectron-to-chromium@1.5.53(transitive)
Updateddotenv-flow@^4.1.0
Updatedvite@^5.2.11