{"_id":"stripe-pwa-elements","_rev":"7-a7d8acac955e1fb2cb5105678c23febd","name":"stripe-pwa-elements","dist-tags":{"next":"3.0.0-0","latest":"3.2.0"},"versions":{"2.0.2":{"name":"stripe-pwa-elements","version":"2.0.2","keywords":["stripe","web component"],"author":{"url":"https://wp-kyoto.net","name":"Hidetaka Okamoto","email":"info@wp-kyoto.net"},"license":"MIT","_id":"stripe-pwa-elements@2.0.2","maintainers":[{"name":"hideokamoto","email":"info@wp-kyoto.net"}],"contributors":[{"name":"contiki9"},{"name":"rdlabo"},{"name":"hideokamoto"}],"homepage":"https://github.com/stripe-elements/stripe-elements#readme","bugs":{"url":"https://github.com/stripe-elements/stripe-elements/issues"},"dist":{"shasum":"4816e0d3dc8ae276d9b514233328cb5cf94c6657","tarball":"https://registry.npmjs.org/stripe-pwa-elements/-/stripe-pwa-elements-2.0.2.tgz","fileCount":1403,"integrity":"sha512-w9c/nyKFkXmJ26SBQEmr5vcI1WMu3nuBrX3sBFv6uPvEmu0hzY++7/zqJoSvWCr4PBDGecZdwhrDtsVi1qMieg==","signatures":[{"sig":"MEYCIQDnUHQDNwfNYs4p8HS1+S0hZP/Vkyd9WtluOshcqnCrIgIhAK2zFay81fYGE8ALlTlr0BcoGcyUUmjo7nnZH++QTSDA","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":1735553},"main":"dist/index.cjs.js","types":"dist/custom-elements/index.d.ts","unpkg":"dist/stripe-elements/stripe-elements.esm.js","es2015":"dist/esm/index.mjs","es2017":"dist/esm/index.mjs","module":"dist/custom-elements/index.js","gitHead":"dfb18dfd6485ff2e50710c7eb6324bfdb0df3ac0","scripts":{"g":"stencil generate","fmt":"prettier-eslint --write $PWD/'src/{components, utils}/**/*{.ts,.tsx,.js}'","lint":"eslint src/**/*{.ts,.tsx}","test":"stencil test --spec","build":"stencil build --docs","start":"stencil build --dev --watch --serve","format":"prettier --write src","release":"np","generate":"stencil generate","test:e2e":"stencil test --spec --e2e","test.watch":"stencil test --spec --e2e --watchAll","example:copy":"stencil build --docs && cp -R dist/stripe-elements example/","example:serve":"npx serve example","prepublishOnly":"npm run build"},"_npmUser":{"name":"hideokamoto","email":"info@wp-kyoto.net"},"collection":"dist/collection/collection-manifest.json","repository":{"url":"git+https://github.com/stripe-elements/stripe-elements.git","type":"git"},"_npmVersion":"8.1.2","description":"Web component of Stripe elements","directories":{},"_nodeVersion":"16.13.1","dependencies":{"i18next":"^20.3.3","ionicons":"^6.0.1","@stencil/core":"^2.14.2","@stripe/stripe-js":"^1.25.0","i18next-browser-languagedetector":"^6.1.2"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"collection:main":"dist/collection/index.js","devDependencies":{"np":"^7.5.0","jest":"^26.6.3","eslint":"^7.31.0","jest-cli":"^26.6.3","prettier":"^2.3.2","puppeteer":"^13.5.1","typescript":"^4.5.4","@types/jest":"^26.0.24","@stencil/sass":"^1.5.2","prettier-eslint":"^12.0.0","@types/puppeteer":"^5.4.3","eslint-plugin-react":"^7.24.0","prettier-eslint-cli":"^5.0.1","@stencil/eslint-plugin":"^0.4.0","@typescript-eslint/parser":"^4.28.3","@typescript-eslint/eslint-plugin":"^4.28.3"},"_npmOperationalInternal":{"tmp":"tmp/stripe-pwa-elements_2.0.2_1685403975313_0.3168662415058061","host":"s3://npm-registry-packages"}},"2.1.0":{"name":"stripe-pwa-elements","version":"2.1.0","keywords":["stripe","web component"],"author":{"url":"https://wp-kyoto.net","name":"Hidetaka Okamoto","email":"info@wp-kyoto.net"},"license":"MIT","_id":"stripe-pwa-elements@2.1.0","maintainers":[{"name":"hideokamoto","email":"info@wp-kyoto.net"}],"contributors":[{"name":"contiki9"},{"name":"rdlabo"},{"name":"hideokamoto"}],"homepage":"https://github.com/stripe-elements/stripe-elements#readme","bugs":{"url":"https://github.com/stripe-elements/stripe-elements/issues"},"dist":{"shasum":"1b3c68cf90c0c8ec3b414a4c6157efc8c5ca2566","tarball":"https://registry.npmjs.org/stripe-pwa-elements/-/stripe-pwa-elements-2.1.0.tgz","fileCount":1403,"integrity":"sha512-YQugGAKWQ4mJVcdrQ+OV56u7UF/BUY6PhBA3LHOse3I8enMQiWDNayOlnjJC++I0TfnXozn2Fs1uhdbGjponFw==","signatures":[{"sig":"MEUCIQCFuUwyHlP/BvadEsvDltCaf3bhmYOtCoOyNDIHwZzZvgIgOGiXlGYXbto7id23M9Qogcqkm1bHOQXLEC1F9ltAECU=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":1738279},"main":"dist/index.cjs.js","types":"dist/custom-elements/index.d.ts","unpkg":"dist/stripe-elements/stripe-elements.esm.js","es2015":"dist/esm/index.mjs","es2017":"dist/esm/index.mjs","module":"dist/custom-elements/index.js","gitHead":"046908cd10d90600b68e49eb931bcf276ad1ed2d","scripts":{"g":"stencil generate","fmt":"prettier-eslint --write $PWD/'src/{components, utils}/**/*{.ts,.tsx,.js}'","lint":"eslint src/**/*{.ts,.tsx}","test":"stencil test --spec","build":"stencil build --docs","start":"stencil build --dev --watch --serve","format":"prettier --write src","release":"np","generate":"stencil generate","test:e2e":"stencil test --spec --e2e","test.watch":"stencil test --spec --e2e --watchAll","example:copy":"stencil build --docs && cp -R dist/stripe-elements example/","example:serve":"npx serve example","prepublishOnly":"npm run build"},"_npmUser":{"name":"hideokamoto","email":"info@wp-kyoto.net"},"collection":"dist/collection/collection-manifest.json","repository":{"url":"git+https://github.com/stripe-elements/stripe-elements.git","type":"git"},"_npmVersion":"8.1.2","description":"Web component of Stripe elements","directories":{},"_nodeVersion":"16.13.1","dependencies":{"i18next":"^20.3.3","ionicons":"^6.0.1","@stencil/core":"^2.14.2","@stripe/stripe-js":"^1.25.0","i18next-browser-languagedetector":"^6.1.2"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"collection:main":"dist/collection/index.js","devDependencies":{"np":"^7.5.0","jest":"^26.6.3","eslint":"^7.31.0","jest-cli":"^26.6.3","prettier":"^2.3.2","puppeteer":"^13.5.1","typescript":"^4.5.4","@types/jest":"^26.0.24","@stencil/sass":"^1.5.2","prettier-eslint":"^12.0.0","@types/puppeteer":"^5.4.3","eslint-plugin-react":"^7.24.0","prettier-eslint-cli":"^5.0.1","@stencil/eslint-plugin":"^0.4.0","@typescript-eslint/parser":"^4.28.3","@typescript-eslint/eslint-plugin":"^4.28.3"},"_npmOperationalInternal":{"tmp":"tmp/stripe-pwa-elements_2.1.0_1685680130438_0.7622233771111993","host":"s3://npm-registry-packages"}},"3.0.0-0":{"name":"stripe-pwa-elements","version":"3.0.0-0","keywords":["stripe","web component"],"author":{"url":"https://wp-kyoto.net","name":"Hidetaka Okamoto","email":"info@wp-kyoto.net"},"license":"MIT","_id":"stripe-pwa-elements@3.0.0-0","maintainers":[{"name":"hideokamoto","email":"info@wp-kyoto.net"}],"contributors":[{"name":"contiki9"},{"name":"rdlabo"},{"name":"hideokamoto"}],"homepage":"https://github.com/stripe-elements/stripe-elements#readme","bugs":{"url":"https://github.com/stripe-elements/stripe-elements/issues"},"dist":{"shasum":"36428d93614d4f8832ed92257812e3f660077239","tarball":"https://registry.npmjs.org/stripe-pwa-elements/-/stripe-pwa-elements-3.0.0-0.tgz","fileCount":1485,"integrity":"sha512-tqqMOARoYZ08fYOgWPYm7eWj4j74XoawyE7alXN+iJHqw2XJnRRp40w4Y/9lSsJpRP2XTKExdNn4xF/UNjgwXg==","signatures":[{"sig":"MEQCIASF5jYS2xgE5X2bb+aagpTWkUjid0lLp9UNGSFicFGOAiA0YpSuWXcBYgWLhrxlAhldQgaCLTpGDxXEOKdQXs4jpA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":4083482},"main":"dist/index.cjs.js","types":"dist/types/components.d.ts","unpkg":"dist/stripe-elements/stripe-elements.esm.js","es2015":"dist/esm/index.mjs","es2017":"dist/esm/index.mjs","module":"dist/index.js","gitHead":"3310da8e9b2991938affad970ffe89f7c57aafd4","scripts":{"g":"stencil generate","fmt":"prettier-eslint --write $PWD/'src/{components, utils}/**/*{.ts,.tsx,.js}'","lint":"eslint src/**/*{.ts,.tsx}","test":"stencil test --spec","build":"stencil build --docs","start":"stencil build --dev --watch --serve","format":"prettier --write src","release":"np","generate":"stencil generate","test:e2e":"stencil test --spec --e2e","test.watch":"stencil test --spec --e2e --watchAll","example:copy":"stencil build --docs && cp -R dist/stripe-elements example/","example:serve":"npx serve example","prepublishOnly":"npm run build"},"_npmUser":{"name":"hideokamoto","email":"info@wp-kyoto.net"},"collection":"dist/collection/collection-manifest.json","repository":{"url":"git+https://github.com/stripe-elements/stripe-elements.git","type":"git"},"_npmVersion":"8.1.2","description":"Web component of Stripe elements","directories":{},"_nodeVersion":"16.13.1","dependencies":{"i18next":"^22.5.0","ionicons":"^7.1.2","@stencil/core":"^3.3.0","@stripe/stripe-js":"^1.54.0","i18next-browser-languagedetector":"^7.0.2"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"readme.md","collection:main":"dist/collection/index.js","devDependencies":{"np":"^7.7.0","jest":"^27.0.3","eslint":"^8.41.0","jest-cli":"^27.4.5","prettier":"^2.8.8","puppeteer":"^20.4.0","typescript":"^4.9.5","@types/jest":"^27.0.3","@stencil/sass":"^3.0.3","prettier-eslint":"^15.0.1","@types/puppeteer":"^5.4.7","eslint-plugin-react":"^7.32.2","prettier-eslint-cli":"^7.1.0","@typescript-eslint/parser":"^5.59.8","@stencil-community/eslint-plugin":"^0.5.0","@typescript-eslint/eslint-plugin":"^5.59.8"},"_npmOperationalInternal":{"tmp":"tmp/stripe-pwa-elements_3.0.0-0_1686228888721_0.5171469754370932","host":"s3://npm-registry-packages"}},"3.0.0":{"name":"stripe-pwa-elements","version":"3.0.0","keywords":["stripe","web component"],"author":{"url":"https://wp-kyoto.net","name":"Hidetaka Okamoto","email":"info@wp-kyoto.net"},"license":"MIT","_id":"stripe-pwa-elements@3.0.0","maintainers":[{"name":"hideokamoto","email":"info@wp-kyoto.net"}],"contributors":[{"name":"contiki9"},{"name":"rdlabo"},{"name":"hideokamoto"}],"homepage":"https://github.com/wpkyoto/stripe-pwa-elements#readme","bugs":{"url":"https://github.com/wpkyoto/stripe-pwa-elements/issues"},"dist":{"shasum":"964825a03e4fa2d4493471ce2062c6ad3538d8d3","tarball":"https://registry.npmjs.org/stripe-pwa-elements/-/stripe-pwa-elements-3.0.0.tgz","fileCount":1506,"integrity":"sha512-Sx46CyuDZcWPUt7tmpBd2RcRkQKHwian92G82R5quOKulP0Jj3FPyhQX/FWf7CVd2y4JULwRQCUlNpymAdKPWg==","signatures":[{"sig":"MEUCIFbqZiGCHdgbgtCasfJAnVreYdZP6+U+eMdhQSIAexGkAiEArmfx7vqUoAVvjEQWYC5ebM56khZTGPj/OEt7/+94lV8=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":4137063},"main":"dist/index.cjs.js","types":"dist/types/components.d.ts","unpkg":"dist/wpkyoto/stripe-pwa-elements.esm.js","es2015":"dist/esm/index.mjs","es2017":"dist/esm/index.mjs","module":"dist/index.js","gitHead":"bfb5c1e3b951008ea23057517fd8516777b2c26f","scripts":{"g":"stencil generate","fmt":"prettier-eslint --write $PWD/'src/{components, utils}/**/*{.ts,.tsx,.js}'","lint":"eslint src/**/*{.ts,.tsx}","test":"stencil test --spec","build":"stencil build --docs","start":"stencil build --dev --watch --serve","format":"prettier --write src","release":"np","generate":"stencil generate","test:e2e":"stencil test --spec --e2e","test.watch":"stencil test --spec --e2e --watchAll","example:copy":"stencil build --docs && cp -R dist/stripe-elements example/","example:serve":"npx serve example","prepublishOnly":"npm run build"},"_npmUser":{"name":"hideokamoto","email":"info@wp-kyoto.net"},"collection":"dist/collection/collection-manifest.json","repository":{"url":"git+https://github.com/wpkyoto/stripe-pwa-elements.git","type":"git"},"_npmVersion":"10.9.2","description":"Web component of Stripe elements","directories":{},"_nodeVersion":"22.13.0","dependencies":{"i18next":"^25.6.2","ionicons":"^8.0.13","@stencil/core":"^4.38.3","@stripe/stripe-js":"^8.4.0","i18next-browser-languagedetector":"^8.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"collection:main":"dist/collection/index.js","devDependencies":{"np":"^10.2.0","jest":"^29.7.0","eslint":"^9.39.1","jest-cli":"^29.7.0","prettier":"^3.6.2","puppeteer":"^24.30.0","typescript":"^5.9.3","@types/jest":"^29.5.14","@stencil/sass":"^3.2.3","@stencil/store":"^2.2.1","prettier-eslint":"^16.4.2","@types/puppeteer":"^7.0.4","eslint-plugin-react":"^7.37.5","prettier-eslint-cli":"^8.0.1","@typescript-eslint/parser":"^8.46.4","@stencil-community/eslint-plugin":"^0.10.0","@typescript-eslint/eslint-plugin":"^8.46.4"},"_npmOperationalInternal":{"tmp":"tmp/stripe-pwa-elements_3.0.0_1765930761023_0.9539772070266359","host":"s3://npm-registry-packages-npm-production"}},"3.0.1":{"name":"stripe-pwa-elements","version":"3.0.1","keywords":["stripe","web component"],"author":{"url":"https://wp-kyoto.net","name":"Hidetaka Okamoto","email":"info@wp-kyoto.net"},"license":"MIT","_id":"stripe-pwa-elements@3.0.1","maintainers":[{"name":"hideokamoto","email":"info@wp-kyoto.net"}],"contributors":[{"name":"contiki9"},{"name":"rdlabo"},{"name":"hideokamoto"}],"homepage":"https://github.com/wpkyoto/stripe-pwa-elements#readme","bugs":{"url":"https://github.com/wpkyoto/stripe-pwa-elements/issues"},"dist":{"shasum":"c4be93188733f99ba8165dc6f1966fc9e14c93a9","tarball":"https://registry.npmjs.org/stripe-pwa-elements/-/stripe-pwa-elements-3.0.1.tgz","fileCount":1612,"integrity":"sha512-RpLIwDqUmVlR0xJM5QwVDtS27vwmCkjo6upekoQuXqHpyNtTNC2yXIQwxqXRa0y+sYcfMwy7SQZLs9SL1UOfpQ==","signatures":[{"sig":"MEYCIQCfLezRPaumzlhXSy02+1yvjtYRL3VRKpavGUgkklCecwIhANALUArhq2ZldXeHK1uWLA7trhLlcq4M7vBO4WHtH5bY","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":5394476},"main":"dist/index.cjs.js","types":"dist/types/components.d.ts","unpkg":"dist/wpkyoto/stripe-pwa-elements.esm.js","es2015":"dist/esm/index.mjs","es2017":"dist/esm/index.mjs","module":"dist/index.js","gitHead":"08f3ae911e2a0912b6f70a52a44bce0eaca903bb","scripts":{"g":"stencil generate","fmt":"prettier-eslint --write $PWD/'src/{components, utils}/**/*{.ts,.tsx,.js}'","lint":"eslint src/**/*{.ts,.tsx}","test":"stencil test --spec","build":"stencil build --docs","start":"stencil build --dev --watch --serve","format":"prettier --write src","release":"np","generate":"stencil generate","test:all":"stencil test --spec --e2e","test:e2e":"stencil test --e2e","test:unit":"stencil test --spec --config=stencil.config.unit.ts","test.watch":"stencil test --spec --e2e --watchAll","example:copy":"stencil build --docs && cp -R dist/stripe-elements example/","example:serve":"npx serve example","prepublishOnly":"npm run build","test:component":"stencil test --spec --config=stencil.config.component.ts"},"_npmUser":{"name":"hideokamoto","email":"info@wp-kyoto.net"},"overrides":{"tmp":"^0.2.5"},"collection":"dist/collection/collection-manifest.json","repository":{"url":"git+https://github.com/wpkyoto/stripe-pwa-elements.git","type":"git"},"_npmVersion":"10.9.2","description":"Web component of Stripe elements","directories":{},"_nodeVersion":"22.13.0","dependencies":{"i18next":"^25.6.2","ionicons":"^8.0.13","@stencil/core":"^4.38.3","@stripe/stripe-js":"^8.6.0","i18next-browser-languagedetector":"^8.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"collection:main":"dist/collection/index.js","devDependencies":{"np":"^10.2.0","jest":"^29.7.0","eslint":"^9.39.1","globals":"^16.5.0","jest-cli":"^29.7.0","prettier":"^3.6.2","puppeteer":"^24.30.0","@eslint/js":"^9.39.2","typescript":"^5.9.3","@types/jest":"^29.5.14","@stencil/sass":"^3.2.3","@stencil/store":"^2.2.1","prettier-eslint":"^16.4.2","@eslint/eslintrc":"^3.3.3","@types/puppeteer":"^7.0.4","eslint-plugin-react":"^7.37.5","prettier-eslint-cli":"^8.0.1","@typescript-eslint/parser":"^8.46.4","@stencil-community/eslint-plugin":"^0.10.0","@typescript-eslint/eslint-plugin":"^8.46.4"},"_npmOperationalInternal":{"tmp":"tmp/stripe-pwa-elements_3.0.1_1766820840329_0.9268031730104409","host":"s3://npm-registry-packages-npm-production"}},"3.1.0":{"name":"stripe-pwa-elements","version":"3.1.0","keywords":["stripe","web component"],"author":{"url":"https://wp-kyoto.net","name":"Hidetaka Okamoto","email":"info@wp-kyoto.net"},"license":"MIT","_id":"stripe-pwa-elements@3.1.0","maintainers":[{"name":"hideokamoto","email":"info@wp-kyoto.net"}],"contributors":[{"name":"contiki9"},{"name":"rdlabo"},{"name":"hideokamoto"}],"homepage":"https://github.com/wpkyoto/stripe-pwa-elements#readme","bugs":{"url":"https://github.com/wpkyoto/stripe-pwa-elements/issues"},"dist":{"shasum":"e5e4501eac0fc8cd510200fe85691cd74b16ac1a","tarball":"https://registry.npmjs.org/stripe-pwa-elements/-/stripe-pwa-elements-3.1.0.tgz","fileCount":1612,"integrity":"sha512-Yg09FhcESyxWM2CkJQMFY0zez3VuCSgzoiZeQSGznoDaWYRTmVwWB2m1r4i/mqweFL426MWSU9oOgF6/BQk3LA==","signatures":[{"sig":"MEYCIQDVoC8pGqQrCRGDIBgDvtN9tbAePVgwaf24zSgZD0f46QIhAL4tIDRd6+RdKzYF/c9nAxqplNJB+GSrdJK0T79r+EAD","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":5394476},"main":"dist/index.cjs.js","types":"dist/types/components.d.ts","unpkg":"dist/wpkyoto/stripe-pwa-elements.esm.js","es2015":"dist/esm/index.mjs","es2017":"dist/esm/index.mjs","module":"dist/index.js","gitHead":"d687aa7d61ea13c013724654d47b8bccf45f02f3","scripts":{"g":"stencil generate","fmt":"prettier-eslint --write $PWD/'src/{components, utils}/**/*{.ts,.tsx,.js}'","lint":"eslint src/**/*{.ts,.tsx}","test":"stencil test --spec","build":"stencil build --docs","start":"stencil build --dev --watch --serve","format":"prettier --write src","release":"np","generate":"stencil generate","test:all":"stencil test --spec --e2e","test:e2e":"stencil test --e2e","test:unit":"stencil test --spec --config=stencil.config.unit.ts","test.watch":"stencil test --spec --e2e --watchAll","example:copy":"stencil build --docs && cp -R dist/stripe-elements example/","example:serve":"npx serve example","prepublishOnly":"npm run build","test:component":"stencil test --spec --config=stencil.config.component.ts"},"_npmUser":{"name":"hideokamoto","email":"info@wp-kyoto.net"},"overrides":{"tmp":"^0.2.5"},"collection":"dist/collection/collection-manifest.json","repository":{"url":"git+https://github.com/wpkyoto/stripe-pwa-elements.git","type":"git"},"_npmVersion":"10.9.2","description":"Web component of Stripe elements","directories":{},"_nodeVersion":"22.13.0","dependencies":{"i18next":"^25.6.2","ionicons":"^8.0.13","@stencil/core":"^4.38.3","@stripe/stripe-js":"^8.6.0","i18next-browser-languagedetector":"^8.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"collection:main":"dist/collection/index.js","devDependencies":{"np":"^10.2.0","jest":"^29.7.0","eslint":"^9.39.1","globals":"^16.5.0","jest-cli":"^29.7.0","prettier":"^3.6.2","puppeteer":"^24.30.0","@eslint/js":"^9.39.2","typescript":"^5.9.3","@types/jest":"^29.5.14","@stencil/sass":"^3.2.3","@stencil/store":"^2.2.1","prettier-eslint":"^16.4.2","@eslint/eslintrc":"^3.3.3","@types/puppeteer":"^7.0.4","eslint-plugin-react":"^7.37.5","prettier-eslint-cli":"^8.0.1","@typescript-eslint/parser":"^8.46.4","@stencil-community/eslint-plugin":"^0.10.0","@typescript-eslint/eslint-plugin":"^8.46.4"},"_npmOperationalInternal":{"tmp":"tmp/stripe-pwa-elements_3.1.0_1766821079946_0.9327944697399817","host":"s3://npm-registry-packages-npm-production"}},"3.2.0":{"name":"stripe-pwa-elements","version":"3.2.0","description":"Web component of Stripe elements","main":"dist/index.cjs.js","module":"dist/index.js","es2015":"dist/esm/index.mjs","es2017":"dist/esm/index.mjs","types":"dist/types/components.d.ts","collection":"dist/collection/collection-manifest.json","collection:main":"dist/collection/index.js","unpkg":"dist/wpkyoto/stripe-pwa-elements.esm.js","scripts":{"build":"stencil build --docs","start":"stencil build --dev --watch --serve","lint":"eslint src/**/*{.ts,.tsx}","fmt":"prettier-eslint --write $PWD/'src/{components, utils}/**/*{.ts,.tsx,.js}'","test":"stencil test --spec","test:unit":"stencil test --spec --config=stencil.config.unit.ts","test:component":"stencil test --spec --config=stencil.config.component.ts","test:e2e":"stencil test --e2e","test:all":"stencil test --spec --e2e","test.watch":"stencil test --spec --e2e --watchAll","g":"stencil generate","generate":"stencil generate","format":"prettier --write src","example:copy":"stencil build --docs && cp -R dist/stripe-elements example/","example:serve":"npx serve example","prepublishOnly":"npm run build","release":"np"},"dependencies":{"@stencil/core":"^4.38.3","@stripe/stripe-js":"^8.6.0","i18next":"^25.6.2","i18next-browser-languagedetector":"^8.2.0","ionicons":"^8.0.13"},"keywords":["stripe","web component"],"bugs":{"url":"https://github.com/wpkyoto/stripe-pwa-elements/issues"},"repository":{"type":"git","url":"git+https://github.com/wpkyoto/stripe-pwa-elements.git"},"publishConfig":{"access":"public"},"contributors":[{"name":"contiki9"},{"name":"rdlabo"},{"name":"hideokamoto"}],"author":{"name":"Hidetaka Okamoto","email":"info@wp-kyoto.net","url":"https://wp-kyoto.net"},"license":"MIT","devDependencies":{"@eslint/eslintrc":"^3.3.3","@eslint/js":"^9.39.2","@stencil-community/eslint-plugin":"^0.10.0","@stencil/sass":"^3.2.3","@stencil/store":"^2.2.1","@types/jest":"^29.5.14","@types/puppeteer":"^7.0.4","@typescript-eslint/eslint-plugin":"^8.46.4","@typescript-eslint/parser":"^8.46.4","eslint":"^9.39.1","eslint-plugin-react":"^7.37.5","globals":"^16.5.0","jest":"^29.7.0","jest-cli":"^29.7.0","np":"^10.2.0","prettier":"^3.6.2","prettier-eslint":"^16.4.2","prettier-eslint-cli":"^8.0.1","puppeteer":"^24.30.0","typescript":"^5.9.3"},"overrides":{"tmp":"^0.2.5"},"_id":"stripe-pwa-elements@3.2.0","gitHead":"56a01d101324ca3b648021994fb9f5e689041bbc","homepage":"https://github.com/wpkyoto/stripe-pwa-elements#readme","_nodeVersion":"22.13.0","_npmVersion":"10.9.2","dist":{"integrity":"sha512-hVWvK/OJ7ehX12qgKVTNLejMWC3THC1T3od50t1peArelYW04dGk35LwAJc8SKBgu5K3sKDpQWmDM+YAJosglA==","shasum":"72715d51633cfff082a230dcf1e064c9e68f5e79","tarball":"https://registry.npmjs.org/stripe-pwa-elements/-/stripe-pwa-elements-3.2.0.tgz","fileCount":1615,"unpackedSize":5455448,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQDbE2rmVLCzxpZXEh76I8sEMgjKFt9tqe8dB/t/ukd1vgIgWT4bpqtIL+aD8ieR8wPISw8ViJ3G4yxVNjQzdiGQmEY="}]},"_npmUser":{"name":"hideokamoto","email":"info@wp-kyoto.net"},"directories":{},"maintainers":[{"name":"hideokamoto","email":"info@wp-kyoto.net"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/stripe-pwa-elements_3.2.0_1773837709703_0.28681213914019144"},"_hasShrinkwrap":false}},"time":{"created":"2023-05-29T23:46:15.253Z","modified":"2026-03-18T12:41:50.059Z","2.0.2":"2023-05-29T23:46:15.573Z","2.1.0":"2023-06-02T04:28:50.776Z","3.0.0-0":"2023-06-08T12:54:49.011Z","3.0.0":"2025-12-17T00:19:21.216Z","3.0.1":"2025-12-27T07:34:00.580Z","3.1.0":"2025-12-27T07:38:00.198Z","3.2.0":"2026-03-18T12:41:49.956Z"},"bugs":{"url":"https://github.com/wpkyoto/stripe-pwa-elements/issues"},"author":{"name":"Hidetaka Okamoto","email":"info@wp-kyoto.net","url":"https://wp-kyoto.net"},"license":"MIT","homepage":"https://github.com/wpkyoto/stripe-pwa-elements#readme","keywords":["stripe","web component"],"repository":{"type":"git","url":"git+https://github.com/wpkyoto/stripe-pwa-elements.git"},"description":"Web component of Stripe elements","contributors":[{"name":"contiki9"},{"name":"rdlabo"},{"name":"hideokamoto"}],"maintainers":[{"name":"hideokamoto","email":"info@wp-kyoto.net"}],"readme":"![Built With Stencil](https://img.shields.io/badge/-Built%20With%20Stencil-16161d.svg?logo=data%3Aimage%2Fsvg%2Bxml%3Bbase64%2CPD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDE5LjIuMSwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPgo8c3ZnIHZlcnNpb249IjEuMSIgaWQ9IkxheWVyXzEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHg9IjBweCIgeT0iMHB4IgoJIHZpZXdCb3g9IjAgMCA1MTIgNTEyIiBzdHlsZT0iZW5hYmxlLWJhY2tncm91bmQ6bmV3IDAgMCA1MTIgNTEyOyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI%2BCjxzdHlsZSB0eXBlPSJ0ZXh0L2NzcyI%2BCgkuc3Qwe2ZpbGw6I0ZGRkZGRjt9Cjwvc3R5bGU%2BCjxwYXRoIGNsYXNzPSJzdDAiIGQ9Ik00MjQuNywzNzMuOWMwLDM3LjYtNTUuMSw2OC42LTkyLjcsNjguNkgxODAuNGMtMzcuOSwwLTkyLjctMzAuNy05Mi43LTY4LjZ2LTMuNmgzMzYuOVYzNzMuOXoiLz4KPHBhdGggY2xhc3M9InN0MCIgZD0iTTQyNC43LDI5Mi4xSDE4MC40Yy0zNy42LDAtOTIuNy0zMS05Mi43LTY4LjZ2LTMuNkgzMzJjMzcuNiwwLDkyLjcsMzEsOTIuNyw2OC42VjI5Mi4xeiIvPgo8cGF0aCBjbGFzcz0ic3QwIiBkPSJNNDI0LjcsMTQxLjdIODcuN3YtMy42YzAtMzcuNiw1NC44LTY4LjYsOTIuNy02OC42SDMzMmMzNy45LDAsOTIuNywzMC43LDkyLjcsNjguNlYxNDEuN3oiLz4KPC9zdmc%2BCg%3D%3D&colorA=16161d&style=flat-square)\n\n# stripe-pwa-elements\n\n\n## Maintainers\n\n| Maintainer | GitHub | Social |\n| --- | --- | --- |\n| Hidetaka Okamoto | [Hidetaka Okamoto](https://github.com/hideokamoto) | [@hide__dev](https://twitter.com/hide__dev) |\n| Masaki Hirano | [hirano](https://github.com/contiki9) | [@maki_saki](https://twitter.com/maki_saki) |\n| Masahiko Sakakibara | [rdlabo](https://github.com/rdlabo) | [@rdlabo](https://twitter.com/rdlabo) |\n\n## Installation\n\n\n## Components\n\n### `<stripe-card-element>`\n\nProvide a Stripe Card form using Stripe Card Elements.\n\nhttps://github.com/stripe-elements/stripe-elements/blob/main/src/components/stripe-card-element/readme.md\n\n### `<stripe-modal>`\n\nSimple modal wrapper for payment components.\n\nhttps://github.com/stripe-elements/stripe-elements/blob/main/src/components/stripe-modal/readme.md\n\n### `<stripe-card-element-modal>`\n\nCombined component: Card Element with Modal wrapper.\n\nhttps://github.com/stripe-elements/stripe-elements/blob/main/src/components/stripe-card-element-modal/readme.md\n\n### `<stripe-payment-request-button>`\n\n(Beta) Payment Request API button component (Apple Pay / Google Pay).\n\nhttps://github.com/stripe-elements/stripe-elements/blob/main/src/components/stripe-payment-request-button/readme.md\n\n## Usage\n\n### HTML\n\n```html\n      <div id=\"result\"></div>\n\n      <stripe-modal open=\"true\">\n          <stripe-card-element\n            publishable-key=\"pk_test_xxxxx\"\n            show-label=\"false\"\n            intent-client-secret=\"pi-xxxxxx\"\n            should-use-default-form-submit-action=\"false\"\n          ></stripe-card-element>\n      </stripe-modal>\n\n    <script>\n        customElements.whenDefined('stripe-card-element')\n            .then(() => {\n                const elements = document.getElementsByTagName('stripe-card-element')\n                if (elements.length < 1) return;\n                const element = elements[0]\n                element.addEventListener('formSubmit', async props => {\n                const {\n                    detail: { stripe, cardNumber, event },\n                } = props;\n                const result = await stripe.createPaymentMethod({\n                    type: 'card',\n                    card: cardNumber,\n                });\n                element.updateProgress('success');\n\n                const resultElement = document.getElementById('result')\n                resultElement.innerHTML = `<pre><code>${JSON.stringify(result,null,2)}</code></pre>`\n            });\n\n        })\n    </script>\n```\n\n### JavaScript\n\n\n```javascript\n        const stripePublishableAPIKey = 'YOUR_STRIPE_PUBLISHABLE_API_KEY'\n\n        const form = document.getElementById('open-modal-form')\n        const resultElement = document.getElementById('result')\n        const errorMessage = document.getElementById('error-message')\n        const targetElement = document.getElementById('stripe');\n        const modalElement = document.createElement('stripe-modal');\n\n        /**\n         * Remove Mounted Stripe Elements when the modal has been closed\n         **/\n        customElements.whenDefined('stripe-modal')\n            .then(() => {\n                modalElement.addEventListener('close', () => {\n                    modalElement.innerHTML = ''\n                })\n            })\n\n        async function launchStripeCardElement (paymentIntentClientSecret) {\n            if (!stripePublishableAPIKey) {\n                errorMessage.innerText = 'Stripe Publishable API Key is required'\n                return\n            }\n            if (!paymentIntentClientSecret) {\n                errorMessage.innerText = 'Payment Intent Client Secret is required'\n                return\n            }\n\n            /**\n             * Define and launch Web Components\n             **/\n            const stripeElement = document.createElement('stripe-card-element');\n            modalElement.appendChild(stripeElement);\n            targetElement.appendChild(modalElement);\n\n            /**\n             * Wait for defining these components\n             **/\n            await customElements.whenDefined('stripe-modal')\n            await customElements.whenDefined('stripe-card-element')\n\n            /**\n             * Load Stripe Client\n             **/\n            await stripeElement.initStripe(stripePublishableAPIKey)\n\n\n            /**\n             * Set the payment intent client secret\n             **/\n            stripeElement.setAttribute('intent-client-secret', paymentIntentClientSecret)\n\n            /**\n             * Disable default form submit event\n             **/\n            stripeElement.setAttribute('should-use-default-form-submit-action', false);\n\n            /**\n             * Set custom form submit event manually\n             **/\n            stripeElement.addEventListener('formSubmit', async props => {\n              const {\n                detail: { stripe, cardNumber, event },\n              } = props;\n              const result = await stripe.createPaymentMethod({\n                type: 'card',\n                card: cardNumber,\n              });\n              resultElement.innerHTML = `<pre><code>${JSON.stringify(result,null,2)}</code></pre>`\n              stripeElement.updateProgress('success');\n              await modalElement.closeModal()\n            });\n\n            /**\n             * Open modal\n             **/\n            modalElement.setAttribute('open', true)\n        })\n```\n\n## Contribution\n\n### Getting Started\n```bash\nnpm install\nnpm start\n```\n\nTo build the component for production, run:\n\n```bash\nnpm run build\n```\n\nTo run the unit tests for the components, run:\n\n```bash\nnpm test\n```","readmeFilename":"readme.md"}