{"versions":{"1.0.0":{"name":"@shopify/polaris-types","version":"1.0.0","private":false,"publishConfig":{"access":"public","@shopify:registry":"https://registry.npmjs.org"},"types":"./dist/polaris.d.ts","exports":{"types":"./dist/polaris.d.ts"},"devDependencies":{"@types/react":"^18.3.12","preact":"^10.26.9","react":"^18.3.1","typescript":"^5.7.3","vitest":"^3.2.4"},"scripts":{"test":"npm run test:types && npm run test:imports","test:imports":"vitest run tests/imports.test.ts","test:types":"npm run test:vanilla && npm run test:react && npm run test:preact","test:react":"tsc --noEmit --jsx react-jsx tests/react.test.tsx","test:preact":"tsc --noEmit --jsx react-jsx tests/preact.test.tsx","test:vanilla":"tsc --noEmit tests/vanilla.test.ts"},"_id":"@shopify/polaris-types@1.0.0","description":"Type definitions for App Bridge UI.","_integrity":"sha512-ZqKKoly/jHe9h8plN0qHihcc5m6i7QQ7u8gnK8y8uqGaN+BVOBaX1difneiNxjk1MpF/QQfBBYnY6aHLyN6HeA==","_resolved":"/tmp/826249c21b3c5278cc5fba18c560d263/shopify-polaris-types-1.0.0.tgz","_from":"file:shopify-polaris-types-1.0.0.tgz","_nodeVersion":"22.19.0","_npmVersion":"10.9.3","dist":{"integrity":"sha512-ZqKKoly/jHe9h8plN0qHihcc5m6i7QQ7u8gnK8y8uqGaN+BVOBaX1difneiNxjk1MpF/QQfBBYnY6aHLyN6HeA==","shasum":"9455f6ec3ef649101a77fe14d36be1649185b928","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@shopify/polaris-types/-/polaris-types-1.0.0.tgz","fileCount":3,"unpackedSize":243635,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIEWjdKpw3QczXdjjeBZy6PRq1z1/l/HLnR0D1incNGGMAiAhRazro43pb/ZTCmOeH4Gxmfr9mo+JTBbIHsE+Js0GDg=="}],"size":45748},"_npmUser":{"name":"anonymous","email":"npmjs+shopify-dep@shopify.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"npmjs@shopify.com"},{"name":"anonymous","email":"npmjs+shopify-dep@shopify.com"},{"name":"anonymous","email":"michelle.oconnor@shopify.com"},{"name":"anonymous","email":"annette.lohan@shopify.com"},{"name":"anonymous","email":"patrick.moloney@shopify.com"},{"name":"anonymous","email":"jamie.kinnavane@shopify.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/polaris-types_1.0.0_1759300698103_0.5796645649687309"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-10-01T06:38:18.275Z","publish_time":1759300698275,"_source_registry_name":"default","contributors":[]},"1.0.1":{"name":"@shopify/polaris-types","version":"1.0.1","private":false,"publishConfig":{"access":"public","@shopify:registry":"https://registry.npmjs.org"},"types":"./dist/polaris.d.ts","exports":{"types":"./dist/polaris.d.ts"},"devDependencies":{"@types/react":"^18.3.12","preact":"^10.26.9","react":"^18.3.1","typescript":"^5.7.3","vitest":"^3.2.4"},"scripts":{"test":"npm run test:types && npm run test:imports","test:imports":"vitest run tests/imports.test.ts","test:types":"npm run test:vanilla && npm run test:react && npm run test:preact","test:react":"tsc --noEmit --jsx react-jsx tests/react.test.tsx","test:preact":"tsc --noEmit --jsx react-jsx tests/preact.test.tsx","test:vanilla":"tsc --noEmit tests/vanilla.test.ts"},"_id":"@shopify/polaris-types@1.0.1","description":"Type definitions for [Polaris web components](https://shopify.dev/docs/api/app-home/polaris-web-components).","_integrity":"sha512-BZs47atXnaOVqFrCfTeXc6Vz8Vk8Vpj9o3nx/lYTvy9i4pPvd4K4mRKIhjrer2NWITCMvY6+nZ6GE1I9Qfq4rQ==","_resolved":"/tmp/f3b1af060c9f01cec6eb1ef7c8d6c276/shopify-polaris-types-1.0.1.tgz","_from":"file:shopify-polaris-types-1.0.1.tgz","_nodeVersion":"22.19.0","_npmVersion":"10.9.3","dist":{"integrity":"sha512-BZs47atXnaOVqFrCfTeXc6Vz8Vk8Vpj9o3nx/lYTvy9i4pPvd4K4mRKIhjrer2NWITCMvY6+nZ6GE1I9Qfq4rQ==","shasum":"8df6a07a36ca26cdeef0f37eab8a6f0e2d5e7078","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@shopify/polaris-types/-/polaris-types-1.0.1.tgz","fileCount":3,"unpackedSize":244602,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQDAbxiCW/Li5lCifU5Kxc24CAvZ7vxo7fZJpQ3Q3HpGPAIhAMw+82H5nuvzY+zeHItgChRf0bimmpdyPVIu0xe9eMKf"}],"size":45958},"_npmUser":{"name":"anonymous","email":"npmjs+shopify-dep@shopify.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"npmjs@shopify.com"},{"name":"anonymous","email":"npmjs+shopify-dep@shopify.com"},{"name":"anonymous","email":"michelle.oconnor@shopify.com"},{"name":"anonymous","email":"annette.lohan@shopify.com"},{"name":"anonymous","email":"patrick.moloney@shopify.com"},{"name":"anonymous","email":"jamie.kinnavane@shopify.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/polaris-types_1.0.1_1759424227709_0.8353132074015148"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-10-02T16:57:07.904Z","publish_time":1759424227904,"_source_registry_name":"default","contributors":[]},"1.0.4":{"name":"@shopify/polaris-types","version":"1.0.4","private":false,"publishConfig":{"access":"public","@shopify:registry":"https://registry.npmjs.org"},"engines":{"pnpm":">=10.2.0","node":">=22.18.0"},"types":"./dist/polaris.d.ts","exports":{".":{"types":"./dist/polaris.d.ts"}},"devDependencies":{"@types/react":"^18.3.12","preact":"^10.26.9","react":"^18.3.1","typescript":"^5.9.3","vitest":"^3.2.4"},"scripts":{"test":"npm run test:types && npm run test:imports","test:imports":"vitest run tests/imports.test.ts","test:types":"npm run test:vanilla && npm run test:react && npm run test:preact","test:react":"tsc --noEmit --jsx react-jsx tests/react.test.tsx","test:preact":"tsc --noEmit --jsx react-jsx tests/preact.test.tsx","test:vanilla":"tsc --noEmit tests/vanilla.test.ts"},"_id":"@shopify/polaris-types@1.0.4","description":"Type definitions for [Polaris web components](https://shopify.dev/docs/api/app-home/polaris-web-components).","_integrity":"sha512-SNbPwC/NkQaiCDON48k/JUiEYztKy1T5t+aRD0gEcA2fhAcvKlCt3efP+BkVZUlrQILLYQTr8D8JvahbpkRnoQ==","_resolved":"/home/runner/work/polaris-publish/polaris-publish/package.tgz","_from":"file:package.tgz","_nodeVersion":"22.22.2","_npmVersion":"10.9.7","dist":{"integrity":"sha512-SNbPwC/NkQaiCDON48k/JUiEYztKy1T5t+aRD0gEcA2fhAcvKlCt3efP+BkVZUlrQILLYQTr8D8JvahbpkRnoQ==","shasum":"4659fd78d9f3a1b2a494ffb71b7755c7a16efd25","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@shopify/polaris-types/-/polaris-types-1.0.4.tgz","fileCount":3,"unpackedSize":264858,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQDRAg1SYmHTQorU32TQJzh7r7d1M82jRP+xpyqoBVCuUAIhANKIB8vuojO0P/xdN+GyYsLWAQIyEYh5Ke7TB9lUGmoT"}],"size":49978},"_npmUser":{"name":"anonymous","email":"npmjs@shopify.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"jaimie.way@shopify.com"},{"name":"anonymous","email":"npmjs@shopify.com"},{"name":"anonymous","email":"npmjs+shopify-dep@shopify.com"},{"name":"anonymous","email":"michelle.oconnor@shopify.com"},{"name":"anonymous","email":"annette.lohan@shopify.com"},{"name":"anonymous","email":"patrick.moloney@shopify.com"},{"name":"anonymous","email":"jamie.kinnavane@shopify.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/polaris-types_1.0.4_1775486077122_0.43051533426294686"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2026-04-06T14:34:37.264Z","publish_time":1775486077264,"_source_registry_name":"default","contributors":[]},"1.0.5":{"name":"@shopify/polaris-types","version":"1.0.5","private":false,"publishConfig":{"access":"public","@shopify:registry":"https://registry.npmjs.org"},"engines":{"pnpm":">=10.2.0","node":">=22.18.0"},"types":"./dist/polaris.d.ts","exports":{".":{"types":"./dist/polaris.d.ts"}},"devDependencies":{"@types/react":"^18.3.12","preact":"^10.29.1","react":"^18.3.1","typescript":"^5.9.3","vitest":"^3.2.4"},"scripts":{"test":"npm run test:types && npm run test:imports","test:imports":"vitest run tests/imports.test.ts","test:types":"npm run test:vanilla && npm run test:react && npm run test:preact","test:react":"tsc --noEmit --jsx react-jsx tests/react.test.tsx","test:preact":"tsc --noEmit --jsx react-jsx tests/preact.test.tsx","test:vanilla":"tsc --noEmit tests/vanilla.test.ts"},"_id":"@shopify/polaris-types@1.0.5","description":"Type definitions for [Polaris web components](https://shopify.dev/docs/api/app-home/polaris-web-components).","_integrity":"sha512-7Vh5E0fDp26AuTnMNQaxxpYv2K+8t0kSzyesdDFMCoh2j0JbsQixsFOv0GZHb9qkVtbzrwfBDn7LdiiabkJMUw==","_resolved":"/home/runner/work/polaris-publish/polaris-publish/package.tgz","_from":"file:package.tgz","_nodeVersion":"22.22.2","_npmVersion":"10.9.7","dist":{"integrity":"sha512-7Vh5E0fDp26AuTnMNQaxxpYv2K+8t0kSzyesdDFMCoh2j0JbsQixsFOv0GZHb9qkVtbzrwfBDn7LdiiabkJMUw==","shasum":"b023b0fbe0e93f6265b500f2ccf9a87adeb91978","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@shopify/polaris-types/-/polaris-types-1.0.5.tgz","fileCount":3,"unpackedSize":281827,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQDvWUvV2kNIkg2xIbwroH3kOvcptuWGMVeHus/CVzOepAIhAITvujpsBWPDl84EbLH/plPgnXE1Cd8NAOtbwpLU4LNx"}],"size":54056},"_npmUser":{"name":"anonymous","email":"npmjs@shopify.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"jaimie.way@shopify.com"},{"name":"anonymous","email":"npmjs@shopify.com"},{"name":"anonymous","email":"npmjs+shopify-dep@shopify.com"},{"name":"anonymous","email":"michelle.oconnor@shopify.com"},{"name":"anonymous","email":"annette.lohan@shopify.com"},{"name":"anonymous","email":"tammy.bui@shopify.com"},{"name":"anonymous","email":"chris.craig@shopify.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/polaris-types_1.0.5_1775835209707_0.014301626513968824"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2026-04-10T15:33:29.862Z","publish_time":1775835209862,"_source_registry_name":"default","contributors":[]},"1.0.6":{"name":"@shopify/polaris-types","version":"1.0.6","private":false,"publishConfig":{"access":"public","@shopify:registry":"https://registry.npmjs.org"},"engines":{"pnpm":">=10.2.0","node":">=22.18.0"},"types":"./dist/polaris.d.ts","customElements":"./dist/custom-elements.json","exports":{".":{"types":"./dist/polaris.d.ts"},"./custom-elements":"./dist/custom-elements.json"},"devDependencies":{"@types/react":"^18.3.12","preact":"^10.29.1","react":"^18.3.1","typescript":"^5.9.3","vitest":"^3.2.4"},"scripts":{"test":"npm run test:types && npm run test:imports && npm run test:cem && npm run test:cem-unit","test:imports":"vitest run tests/imports.test.ts","test:cem":"vitest run tests/custom-elements.test.ts","test:cem-unit":"vitest run tests/custom-data-unit.test.ts","test:types":"npm run test:vanilla && npm run test:react && npm run test:preact","test:react":"tsc --noEmit --jsx react-jsx tests/react.test.tsx","test:preact":"tsc --noEmit --jsx react-jsx tests/preact.test.tsx","test:vanilla":"tsc --noEmit tests/vanilla.test.ts"},"_id":"@shopify/polaris-types@1.0.6","description":"Type definitions for [Polaris web components](https://shopify.dev/docs/api/app-home/polaris-web-components).","_integrity":"sha512-P0L2EIGAsY6TDiEw6p6rbFe3PwwwjIGoILqSHj7eAuSa6hyzRtHM798oOMyOzT/FdIgJdweUC/PRmE6XR51sdw==","_resolved":"/home/runner/work/polaris-publish/polaris-publish/package.tgz","_from":"file:package.tgz","_nodeVersion":"22.22.2","_npmVersion":"10.9.7","dist":{"integrity":"sha512-P0L2EIGAsY6TDiEw6p6rbFe3PwwwjIGoILqSHj7eAuSa6hyzRtHM798oOMyOzT/FdIgJdweUC/PRmE6XR51sdw==","shasum":"26a2ec4586b7f4962d396b69a87dedd79f633791","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@shopify/polaris-types/-/polaris-types-1.0.6.tgz","fileCount":4,"unpackedSize":969222,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIEAx6gbhCkicVZehVy4DXWDr31HecG2ymXxAM3Ne5ST7AiEA2PE2/zjwvItB7paWETn8q/7t/YfLC0zfEpmEk5bHAnc="}],"size":113279},"_npmUser":{"name":"anonymous","email":"npmjs@shopify.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"jaimie.way@shopify.com"},{"name":"anonymous","email":"npmjs@shopify.com"},{"name":"anonymous","email":"npmjs+shopify-dep@shopify.com"},{"name":"anonymous","email":"michelle.oconnor@shopify.com"},{"name":"anonymous","email":"annette.lohan@shopify.com"},{"name":"anonymous","email":"tammy.bui@shopify.com"},{"name":"anonymous","email":"chris.craig@shopify.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/polaris-types_1.0.6_1776054922875_0.29111274242262675"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2026-04-13T04:35:22.995Z","publish_time":1776054922995,"_source_registry_name":"default","contributors":[]},"1.0.7":{"name":"@shopify/polaris-types","version":"1.0.7","private":false,"publishConfig":{"access":"public","@shopify:registry":"https://registry.npmjs.org"},"engines":{"pnpm":">=10.2.0","node":">=22.18.0"},"types":"./dist/polaris.d.ts","customElements":"./dist/custom-elements.json","exports":{".":{"types":"./dist/polaris.d.ts"},"./custom-elements":"./dist/custom-elements.json"},"devDependencies":{"@types/react":"^18.3.12","preact":"^10.29.1","react":"^18.3.1","typescript":"^5.9.3","vitest":"^3.2.4"},"scripts":{"test":"npm run test:types && npm run test:imports && npm run test:cem && npm run test:cem-unit","test:imports":"vitest run tests/imports.test.ts","test:cem":"vitest run tests/custom-elements.test.ts","test:cem-unit":"vitest run tests/custom-data-unit.test.ts","test:types":"npm run test:vanilla && npm run test:react && npm run test:preact","test:react":"tsc --noEmit --jsx react-jsx tests/react.test.tsx","test:preact":"tsc --noEmit --jsx react-jsx tests/preact.test.tsx","test:vanilla":"tsc --noEmit tests/vanilla.test.ts"},"_nodeVersion":"22.22.2","_id":"@shopify/polaris-types@1.0.7","dist":{"integrity":"sha512-e4OKlNHkDNHe9RCOnNgUuAkeTEH028YxS2pGEWhO/f1cHQyekhLVdY8AWznqfvgMlobwwvfgIaF+rc1jtNbYnw==","shasum":"1b4f040aea58550e20736edfa1a8b9457f33bfba","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@shopify/polaris-types/-/polaris-types-1.0.7.tgz","fileCount":4,"unpackedSize":969178,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIBepi/3NRuukN1i1A1PaZ1tQKxkKNdzb57iFqU3y4rs1AiBJvakCVdKHAAtsOZChgTsQR4vmT9KEAdwBE/RQp5DcKQ=="}],"size":113258},"_npmUser":{"name":"anonymous","email":"npmjs@shopify.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"jaimie.way@shopify.com"},{"name":"anonymous","email":"npmjs@shopify.com"},{"name":"anonymous","email":"npmjs+shopify-dep@shopify.com"},{"name":"anonymous","email":"michelle.oconnor@shopify.com"},{"name":"anonymous","email":"tammy.bui@shopify.com"},{"name":"anonymous","email":"chris.craig@shopify.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/polaris-types_1.0.7_1777483866845_0.03294813085255699"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2026-04-29T17:31:07.051Z","publish_time":1777483867051,"_source_registry_name":"default","contributors":[]}},"dist-tags":{"latest":"1.0.7"},"name":"@shopify/polaris-types","time":{"created":"2025-10-01T06:38:29.586Z","modified":"2026-04-29T17:31:20.820Z","1.0.0":"2025-10-01T06:38:18.275Z","1.0.1":"2025-10-02T16:57:07.904Z","1.0.4":"2026-04-06T14:34:37.264Z","1.0.5":"2026-04-10T15:33:29.862Z","1.0.6":"2026-04-13T04:35:22.995Z","1.0.7":"2026-04-29T17:31:07.051Z"},"readme":"# @shopify/polaris-types\n\nType definitions for [Polaris web components](https://shopify.dev/docs/api/app-home/polaris-web-components).\n\n## Installation\n\nAdd the types package as a dev dependency:\n\n```bash\nnpm i -D @shopify/polaris-types\n```\n\n## Usage\n\nSince Polaris web components are not imported directly, you need to add the types to your TypeScript configuration in one of the following ways:\n\n### Method 1: Add to tsconfig.json\n\n```json\n{\n  \"compilerOptions\": {\n    \"types\": [\"@shopify/polaris-types\"]\n  }\n}\n```\n\n### Method 2: Add as a triple-slash reference\n\nAdd the following line at the top of your TypeScript files where you need the types:\n\n```typescript\n/// <reference types=\"@shopify/polaris-types\" />\n```\n\n## Custom Elements Manifest\n\nThis package includes a [Custom Elements Manifest](https://github.com/webcomponents/custom-elements-manifest) (`custom-elements.json`) that describes the Polaris web components in a standardized format. The manifest is generated using [`@custom-elements-manifest/analyzer`](https://github.com/open-wc/custom-elements-manifest) with custom Polaris plugins.\n\nIDE extensions and other tooling that understand the CEM format can use this to provide autocomplete, documentation, and other rich features for Polaris web components.\n\n### Accessing the manifest\n\n```javascript\n// Via package.json \"customElements\" field (recommended for tooling)\n// The field points to: ./dist/custom-elements.json\n\n// Via direct import\nimport cem from '@shopify/polaris-types/custom-elements';\n```","users":{}}