{"_id":"@capawesome/capacitor-action-sheet","_rev":"6-63dcaaedc1901b7c388e5694f84984a0","name":"@capawesome/capacitor-action-sheet","dist-tags":{"latest":"0.2.1"},"versions":{"0.0.1":{"name":"@capawesome/capacitor-action-sheet","version":"0.0.1","keywords":["capacitor","plugin","native","action-sheet","action sheet","bottom sheet"],"author":{"name":"Robin Genz","email":"mail@robingenz.dev"},"license":"MIT","_id":"@capawesome/capacitor-action-sheet@0.0.1","maintainers":[{"name":"robingenz","email":"mail@robingenz.dev"}],"homepage":"https://capawesome.io/docs/sdks/capacitor/action-sheet/","bugs":{"url":"https://github.com/capawesome-team/capacitor-plugins/issues"},"dist":{"shasum":"afe3a007d883c818f85ffab06ce173120f5fe787","tarball":"https://registry.npmjs.org/@capawesome/capacitor-action-sheet/-/capacitor-action-sheet-0.0.1.tgz","fileCount":40,"integrity":"sha512-PFWFUh3salAEeAG8cOpdVF8lVuU6uNX18jlxzBNXPJe5aLnqdQELkflfxlgSgwcsu2hjFQXNHXYbFj4uNJk7eQ==","signatures":[{"sig":"MEQCIFCUS9J78S6+0UgDDh8To9cw7wlqri+gAkg8gAi+GxgCAiBq1UbpuAksUjV+fRoNdMFzXLJurLr+pIhIZ4aFD8FrPg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":59829},"main":"dist/plugin.cjs.js","types":"dist/esm/index.d.ts","unpkg":"dist/plugin.js","module":"dist/esm/index.js","funding":[{"url":"https://github.com/sponsors/capawesome-team/","type":"github"},{"url":"https://opencollective.com/capawesome","type":"opencollective"}],"gitHead":"e18228f8362b044cd453aba542fe8e0a02fd996f","scripts":{"fmt":"npm run eslint -- --fix && npm run prettier -- --write && npm run swiftlint -- --fix --format","lint":"npm run eslint && npm run prettier -- --check && npm run swiftlint -- lint","build":"npm run clean && npm run docgen && tsc && rollup -c rollup.config.mjs","clean":"rimraf ./dist","watch":"tsc --watch","docgen":"docgen --api ActionSheetPlugin --output-readme README.md --output-json dist/docs.json","eslint":"eslint . --ext ts","verify":"npm run verify:ios && npm run verify:android && npm run verify:web","prettier":"prettier \"**/*.{css,html,ts,js,java}\"","swiftlint":"node-swiftlint","verify:ios":"cd ios && pod install && xcodebuild -workspace Plugin.xcworkspace -scheme Plugin -destination generic/platform=iOS && cd ..","verify:web":"npm run build","prepublishOnly":"npm run build","verify:android":"cd android && ./gradlew clean build test && cd ..","ios:pod:install":"cd ios && pod install --repo-update && cd ..","ios:spm:install":"cd ios && swift package resolve && cd .."},"_npmUser":{"name":"robingenz","email":"mail@robingenz.dev"},"capacitor":{"ios":{"src":"ios"},"android":{"src":"android"}},"repository":{"url":"git+https://github.com/capawesome-team/capacitor-plugins.git","type":"git"},"_npmVersion":"11.13.0","description":"Capacitor plugin for native action sheets.","directories":{},"_nodeVersion":"24.16.0","eslintConfig":{"extends":"@ionic/eslint-config/recommended"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"8.57.0","rimraf":"6.1.2","rollup":"4.53.3","swiftlint":"2.0.0","typescript":"5.9.3","@capacitor/cli":"8.0.0","@capacitor/ios":"8.0.0","@capacitor/core":"8.0.0","@capacitor/docgen":"0.3.1","@capacitor/android":"8.0.0","@ionic/eslint-config":"0.4.0","prettier-plugin-java":"2.6.7"},"peerDependencies":{"@capacitor/core":">=8.0.0"},"_npmOperationalInternal":{"tmp":"tmp/capacitor-action-sheet_0.0.1_1783426793182_0.5675951336257083","host":"s3://npm-registry-packages-npm-production"}},"0.1.0":{"name":"@capawesome/capacitor-action-sheet","version":"0.1.0","keywords":["capacitor","plugin","native","action-sheet","action sheet","bottom sheet","capacitor-plugin","native action sheet","context menu","popover","destructive button","cancel button"],"author":{"name":"Robin Genz","email":"mail@robingenz.dev"},"license":"MIT","_id":"@capawesome/capacitor-action-sheet@0.1.0","maintainers":[{"name":"robingenz","email":"mail@robingenz.dev"}],"homepage":"https://capawesome.io/docs/sdks/capacitor/action-sheet/","bugs":{"url":"https://github.com/capawesome-team/capacitor-plugins/issues"},"dist":{"shasum":"7558debd6d8cbfbb11d1b843ad1fc89240d53b36","tarball":"https://registry.npmjs.org/@capawesome/capacitor-action-sheet/-/capacitor-action-sheet-0.1.0.tgz","fileCount":40,"integrity":"sha512-HwXtHCPr+IUyESvMq5VUv55osry3nwgOGTL4SaRIt1pLgXv9A5kq7h3NofJYi2981MQqhhY2ZeZ3syxJxXMIsg==","signatures":[{"sig":"MEQCIQC9D0Raiz8ZHrshR/9Mmyk7Vj1rbXyywzUOzsHRxLU91wIfZH0KII8e9AuKRZmNOhjYYnNPBlLIK42fQfpUx40gYA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@capawesome%2fcapacitor-action-sheet@0.1.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":63908},"main":"dist/plugin.cjs.js","types":"dist/esm/index.d.ts","unpkg":"dist/plugin.js","module":"dist/esm/index.js","funding":[{"url":"https://github.com/sponsors/capawesome-team/","type":"github"},{"url":"https://opencollective.com/capawesome","type":"opencollective"}],"gitHead":"1ce17b1fd14c43b2f1d5d3c2da82221e1d1dca37","scripts":{"fmt":"npm run eslint -- --fix && npm run prettier -- --write && npm run swiftlint -- --fix --format","lint":"npm run eslint && npm run prettier -- --check && npm run swiftlint -- lint","build":"npm run clean && npm run docgen && tsc && rollup -c rollup.config.mjs","clean":"rimraf ./dist","watch":"tsc --watch","docgen":"docgen --api ActionSheetPlugin --output-readme README.md --output-json dist/docs.json","eslint":"eslint . --ext ts","verify":"npm run verify:ios && npm run verify:android && npm run verify:web","prettier":"prettier \"**/*.{css,html,ts,js,java}\"","swiftlint":"node-swiftlint","verify:ios":"cd ios && pod install && xcodebuild -workspace Plugin.xcworkspace -scheme Plugin -destination generic/platform=iOS && cd ..","verify:web":"npm run build","prepublishOnly":"npm run build","verify:android":"cd android && ./gradlew clean build test && cd ..","ios:pod:install":"cd ios && pod install --repo-update && cd ..","ios:spm:install":"cd ios && swift package resolve && cd .."},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:3d962611-30e4-46fb-80ba-dd35c156c234"}},"capacitor":{"ios":{"src":"ios"},"android":{"src":"android"}},"repository":{"url":"git+https://github.com/capawesome-team/capacitor-plugins.git","type":"git"},"_npmVersion":"11.16.0","description":"Capacitor plugin for native action sheets on Android and iOS.","directories":{},"_nodeVersion":"24.18.0","eslintConfig":{"extends":"@ionic/eslint-config/recommended"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"8.57.0","rimraf":"6.1.2","rollup":"4.53.3","swiftlint":"2.0.0","typescript":"5.9.3","@capacitor/cli":"8.0.0","@capacitor/ios":"8.0.0","@capacitor/core":"8.0.0","@capacitor/docgen":"0.3.1","@capacitor/android":"8.0.0","@ionic/eslint-config":"0.4.0","prettier-plugin-java":"2.6.7"},"peerDependencies":{"@capacitor/core":">=8.0.0"},"_npmOperationalInternal":{"tmp":"tmp/capacitor-action-sheet_0.1.0_1784015487729_0.2000278760467853","host":"s3://npm-registry-packages-npm-production"}},"0.1.1":{"name":"@capawesome/capacitor-action-sheet","version":"0.1.1","keywords":["capacitor","plugin","native","action-sheet","action sheet","bottom sheet","capacitor-plugin","native action sheet","context menu","popover","destructive button","cancel button"],"author":{"name":"Robin Genz","email":"mail@robingenz.dev"},"license":"MIT","_id":"@capawesome/capacitor-action-sheet@0.1.1","maintainers":[{"name":"robingenz","email":"mail@robingenz.dev"}],"homepage":"https://capawesome.io/docs/sdks/capacitor/action-sheet/","bugs":{"url":"https://github.com/capawesome-team/capacitor-plugins/issues"},"dist":{"shasum":"706e68dfca3fa1d419e959c88aa4a6a9a477db16","tarball":"https://registry.npmjs.org/@capawesome/capacitor-action-sheet/-/capacitor-action-sheet-0.1.1.tgz","fileCount":40,"integrity":"sha512-78HgMba/6GPuFCn12wYHw8ABp3le8N9axG9wLD3ZOTCyy/KuykJeySqwIgmuAEAqZN5SVDqhsJXScllF1wA6xQ==","signatures":[{"sig":"MEQCIFw0P7CysNvx13Epf42hot6VrjQ9lXTG0kLGfJzcACZYAiABz3TNkoWF7hUm26S1pcRpTAJ/K5RTR53C52bwKAAAkA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@capawesome%2fcapacitor-action-sheet@0.1.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":63917},"main":"dist/plugin.cjs.js","types":"dist/esm/index.d.ts","unpkg":"dist/plugin.js","module":"dist/esm/index.js","funding":[{"url":"https://github.com/sponsors/capawesome-team/","type":"github"},{"url":"https://opencollective.com/capawesome","type":"opencollective"}],"gitHead":"3e61f4b412f9f3f512c21169bb135bbb23a67e6d","scripts":{"fmt":"npm run eslint -- --fix && npm run prettier -- --write && npm run swiftlint -- --fix --format","lint":"npm run eslint && npm run prettier -- --check && npm run swiftlint -- lint","build":"npm run clean && npm run docgen && tsc && rollup -c rollup.config.mjs","clean":"rimraf ./dist","watch":"tsc --watch","docgen":"docgen --api ActionSheetPlugin --output-readme README.md --output-json dist/docs.json","eslint":"eslint . --ext ts","verify":"npm run verify:ios && npm run verify:android && npm run verify:web","prettier":"prettier \"**/*.{css,html,ts,js,java}\"","swiftlint":"node-swiftlint","verify:ios":"cd ios && pod install && xcodebuild -workspace Plugin.xcworkspace -scheme Plugin -destination generic/platform=iOS && cd ..","verify:web":"npm run build","prepublishOnly":"npm run build","verify:android":"cd android && ./gradlew clean build test && cd ..","ios:pod:install":"cd ios && pod install --repo-update && cd ..","ios:spm:install":"cd ios && swift package resolve && cd .."},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:3d962611-30e4-46fb-80ba-dd35c156c234"}},"capacitor":{"ios":{"src":"ios"},"android":{"src":"android"}},"repository":{"url":"git+https://github.com/capawesome-team/capacitor-plugins.git","type":"git"},"_npmVersion":"11.16.0","description":"Capacitor plugin for native action sheets on Android and iOS.","directories":{},"_nodeVersion":"24.18.0","eslintConfig":{"extends":"@ionic/eslint-config/recommended"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"8.57.0","rimraf":"6.1.2","rollup":"4.53.3","swiftlint":"2.0.0","typescript":"5.9.3","@capacitor/cli":"8.0.0","@capacitor/ios":"8.0.0","@capacitor/core":"8.0.0","@capacitor/docgen":"0.3.1","@capacitor/android":"8.0.0","@ionic/eslint-config":"0.4.0","prettier-plugin-java":"2.6.7"},"peerDependencies":{"@capacitor/core":">=8.0.0"},"_npmOperationalInternal":{"tmp":"tmp/capacitor-action-sheet_0.1.1_1784102940189_0.3152650060757096","host":"s3://npm-registry-packages-npm-production"}},"0.1.2":{"name":"@capawesome/capacitor-action-sheet","version":"0.1.2","keywords":["capacitor","plugin","native","action-sheet","action sheet","bottom sheet","capacitor-plugin","native action sheet","context menu","popover","destructive button","cancel button"],"author":{"name":"Robin Genz","email":"mail@robingenz.dev"},"license":"MIT","_id":"@capawesome/capacitor-action-sheet@0.1.2","maintainers":[{"name":"robingenz","email":"mail@robingenz.dev"}],"homepage":"https://capawesome.io/docs/sdks/capacitor/action-sheet/","bugs":{"url":"https://github.com/capawesome-team/capacitor-plugins/issues"},"dist":{"shasum":"f2c94369376cc914a32c2b2670b56c9373877da8","tarball":"https://registry.npmjs.org/@capawesome/capacitor-action-sheet/-/capacitor-action-sheet-0.1.2.tgz","fileCount":40,"integrity":"sha512-f4N5XtX5vbdvqKzAnWix1HveXvnbV6f1EwA4fQbr95ZVLdSi7Oh59rbLel6BEjstAo49D6ifeHZcEdb0X2wrcQ==","signatures":[{"sig":"MEQCIBpkgLSYLxJ3kB43988PI5lpGhkLggcA0fx+z+mT+lrwAiB+MztSs+ZU7tqJQP0WfylLPwiJVS32r4AF2eYX38tJMw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@capawesome%2fcapacitor-action-sheet@0.1.2","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":63765},"main":"dist/plugin.cjs.js","types":"dist/esm/index.d.ts","unpkg":"dist/plugin.js","module":"dist/esm/index.js","funding":[{"url":"https://github.com/sponsors/capawesome-team/","type":"github"},{"url":"https://opencollective.com/capawesome","type":"opencollective"}],"gitHead":"7c1937ed10b7de86ca2c1cdc3539a2735fd69a00","scripts":{"fmt":"npm run eslint -- --fix && npm run prettier -- --write && npm run swiftlint -- --fix --format","lint":"npm run eslint && npm run prettier -- --check && npm run swiftlint -- lint","build":"npm run clean && npm run docgen && tsc && rollup -c rollup.config.mjs","clean":"rimraf ./dist","watch":"tsc --watch","docgen":"docgen --api ActionSheetPlugin --output-readme README.md --output-json dist/docs.json","eslint":"eslint . --ext ts","verify":"npm run verify:ios && npm run verify:android && npm run verify:web","prettier":"prettier \"**/*.{css,html,ts,js,java}\"","swiftlint":"node-swiftlint","verify:ios":"cd ios && pod install && xcodebuild -workspace Plugin.xcworkspace -scheme Plugin -destination generic/platform=iOS && cd ..","verify:web":"npm run build","prepublishOnly":"npm run build","verify:android":"cd android && ./gradlew clean build test && cd ..","ios:pod:install":"cd ios && pod install --repo-update && cd ..","ios:spm:install":"cd ios && swift package resolve && cd .."},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:3d962611-30e4-46fb-80ba-dd35c156c234"}},"capacitor":{"ios":{"src":"ios"},"android":{"src":"android"}},"repository":{"url":"git+https://github.com/capawesome-team/capacitor-plugins.git","type":"git"},"_npmVersion":"11.17.0","description":"Capacitor plugin for native action sheets on Android and iOS.","directories":{},"_nodeVersion":"24.19.0","eslintConfig":{"extends":"@ionic/eslint-config/recommended"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"8.57.0","rimraf":"6.1.2","rollup":"4.62.3","swiftlint":"2.0.0","typescript":"5.9.3","@capacitor/cli":"8.4.2","@capacitor/ios":"8.0.0","@capacitor/core":"8.0.0","@capacitor/docgen":"0.3.1","@capacitor/android":"8.0.0","@ionic/eslint-config":"0.4.0","prettier-plugin-java":"2.9.7"},"peerDependencies":{"@capacitor/core":">=8.0.0"},"_npmOperationalInternal":{"tmp":"tmp/capacitor-action-sheet_0.1.2_1788337301460_0.03371391195320772","host":"s3://npm-registry-packages-npm-production"}},"0.2.0":{"name":"@capawesome/capacitor-action-sheet","version":"0.2.0","keywords":["capacitor","plugin","native","action-sheet","action sheet","bottom sheet","capacitor-plugin","native action sheet","context menu","popover","destructive button","cancel button"],"author":{"name":"Robin Genz","email":"mail@robingenz.dev"},"license":"MIT","_id":"@capawesome/capacitor-action-sheet@0.2.0","maintainers":[{"name":"robingenz","email":"mail@robingenz.dev"}],"homepage":"https://capawesome.io/docs/sdks/capacitor/action-sheet/","bugs":{"url":"https://github.com/capawesome-team/capacitor-plugins/issues"},"dist":{"shasum":"9032c7523db48206c2d836290d98a9cae0b9472a","tarball":"https://registry.npmjs.org/@capawesome/capacitor-action-sheet/-/capacitor-action-sheet-0.2.0.tgz","fileCount":40,"integrity":"sha512-3YqAxWdP9wj/Nsphd55BDbYUpUK/IxEMhk+0dX1yAaZWztUCVRZ5wqNjTgAT6gyTV1FdKwXlh/Q6evFbMqqEkg==","signatures":[{"sig":"MEQCIHfNPebfR49Fpw1KpEbq+hy9M6uFnqIyzr0bsmpEvgJ4AiBgB9m4uTfzbQw7RV0WODjMWmlJ2QAioUpYLdwrvUKs6g==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@capawesome%2fcapacitor-action-sheet@0.2.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":66218},"main":"dist/plugin.cjs.js","types":"dist/esm/index.d.ts","unpkg":"dist/plugin.js","module":"dist/esm/index.js","funding":[{"url":"https://github.com/sponsors/capawesome-team/","type":"github"},{"url":"https://opencollective.com/capawesome","type":"opencollective"}],"gitHead":"3ee8c4f992341026051d438d5b412567c1826c92","scripts":{"fmt":"npm run eslint -- --fix && npm run prettier -- --write && npm run swiftlint -- --fix --format","lint":"npm run eslint && npm run prettier -- --check && npm run swiftlint -- lint","build":"npm run clean && npm run docgen && tsc && rollup -c rollup.config.mjs","clean":"rimraf ./dist","watch":"tsc --watch","docgen":"docgen --api ActionSheetPlugin --output-readme README.md --output-json dist/docs.json","eslint":"eslint . --ext ts","verify":"npm run verify:ios && npm run verify:android && npm run verify:web","prettier":"prettier \"**/*.{css,html,ts,js,java}\"","swiftlint":"node-swiftlint","verify:ios":"cd ios && pod install && xcodebuild -workspace Plugin.xcworkspace -scheme Plugin -destination generic/platform=iOS && cd ..","verify:web":"npm run build","prepublishOnly":"npm run build","verify:android":"cd android && ./gradlew clean build test && cd ..","ios:pod:install":"cd ios && pod install --repo-update && cd ..","ios:spm:install":"cd ios && swift package resolve && cd .."},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:3d962611-30e4-46fb-80ba-dd35c156c234"}},"capacitor":{"ios":{"src":"ios"},"android":{"src":"android"}},"repository":{"url":"git+https://github.com/capawesome-team/capacitor-plugins.git","type":"git"},"_npmVersion":"11.19.0","description":"Capacitor plugin for native action sheets on Android and iOS.","directories":{},"_nodeVersion":"24.20.0","eslintConfig":{"extends":"@ionic/eslint-config/recommended"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"8.57.0","rimraf":"6.1.2","rollup":"4.62.3","swiftlint":"2.0.0","typescript":"5.9.3","@capacitor/cli":"8.4.2","@capacitor/ios":"8.0.0","@capacitor/core":"8.0.0","@capacitor/docgen":"0.3.1","@capacitor/android":"8.0.0","@ionic/eslint-config":"0.4.0","prettier-plugin-java":"2.9.7"},"peerDependencies":{"@capacitor/core":">=8.0.0"},"_npmOperationalInternal":{"tmp":"tmp/capacitor-action-sheet_0.2.0_1788587137567_0.4587596991851679","host":"s3://npm-registry-packages-npm-production"}},"0.2.1":{"_id":"@capawesome/capacitor-action-sheet@0.2.1","bugs":{"url":"https://github.com/capawesome-team/capacitor-plugins/issues"},"dist":{"shasum":"8554ef797c88ca7278e2f0ffdefbb58d45a33433","tarball":"https://registry.npmjs.org/@capawesome/capacitor-action-sheet/-/capacitor-action-sheet-0.2.1.tgz","fileCount":40,"integrity":"sha512-mF9r5iRAkuc4wn64H2K4felRcO2d1VYUMgplxwHn2nlxanecpxox7RONUG6lsQIkLR/SimipHZ7/zJKPrTfYXQ==","signatures":[{"sig":"MEQCIEf1uFtIzE1KvkhTBC3o0/IxosTX5lV3h/8V6VPwFOt+AiADayRRvSeLDVl6ogcvihS8Yn5o+gw5d5ozKnfPUeC2Hg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQDKS8MZlaNlVH7f+2Zsv4/L5ZH/SqFHYgpxB8K+/LT9XQIhAOxG///2Y9ZCBxbO/EIRuBOuoBHmLDyOTLTeT8L8tsEP"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@capawesome%2fcapacitor-action-sheet@0.2.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":68480},"main":"dist/plugin.cjs.js","name":"@capawesome/capacitor-action-sheet","types":"dist/esm/index.d.ts","unpkg":"dist/plugin.js","author":{"name":"Robin Genz","email":"mail@robingenz.dev"},"module":"dist/esm/index.js","funding":[{"url":"https://github.com/sponsors/capawesome-team/","type":"github"},{"url":"https://opencollective.com/capawesome","type":"opencollective"}],"gitHead":"384de9b4fde0ef189e7c751965c9088d707d9910","license":"MIT","scripts":{"fmt":"npm run eslint -- --fix && npm run prettier -- --write && npm run swiftlint -- --fix --format","lint":"npm run eslint && npm run prettier -- --check && npm run swiftlint -- lint","build":"npm run clean && npm run docgen && tsc && rollup -c rollup.config.mjs","clean":"rimraf ./dist","watch":"tsc --watch","docgen":"docgen --api ActionSheetPlugin --output-readme README.md --output-json dist/docs.json","eslint":"eslint . --ext ts","verify":"npm run verify:ios && npm run verify:android && npm run verify:web","prettier":"prettier \"**/*.{css,html,ts,js,java}\"","swiftlint":"node-swiftlint","verify:ios":"cd ios && pod install && xcodebuild -workspace Plugin.xcworkspace -scheme Plugin -destination generic/platform=iOS && cd ..","verify:web":"npm run build","prepublishOnly":"npm run build","verify:android":"cd android && ./gradlew clean build test && cd ..","ios:pod:install":"cd ios && pod install --repo-update && cd ..","ios:spm:install":"cd ios && swift package resolve && cd .."},"version":"0.2.1","_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"3d962611-30e4-46fb-80ba-dd35c156c234"}},"homepage":"https://capawesome.io/docs/sdks/capacitor/action-sheet/","keywords":["capacitor","plugin","native","action-sheet","action sheet","bottom sheet","capacitor-plugin","native action sheet","context menu","popover","destructive button","cancel button"],"capacitor":{"ios":{"src":"ios"},"android":{"src":"android"}},"repository":{"url":"git+https://github.com/capawesome-team/capacitor-plugins.git","type":"git"},"_npmVersion":"11.19.0","description":"Capacitor plugin for native action sheets on Android and iOS.","directories":{},"maintainers":[{"name":"robingenz","email":"mail@robingenz.dev"}],"_nodeVersion":"24.21.0","eslintConfig":{"extends":"@ionic/eslint-config/recommended"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"8.57.0","rimraf":"6.1.2","rollup":"4.62.3","swiftlint":"2.0.0","typescript":"5.9.3","@capacitor/cli":"8.4.2","@capacitor/ios":"8.0.0","@capacitor/core":"8.0.0","@capacitor/docgen":"0.3.1","@capacitor/android":"8.0.0","@ionic/eslint-config":"0.4.0","prettier-plugin-java":"2.9.7"},"peerDependencies":{"@capacitor/core":">=8.0.0"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/capacitor-action-sheet_0.2.1_1790855280560_0.6071635926991426"}}},"time":{"created":"2026-07-07T12:19:52.959Z","modified":"2026-10-01T11:48:01.054Z","0.0.1":"2026-07-07T12:19:53.313Z","0.1.0":"2026-07-14T07:51:27.879Z","0.1.1":"2026-07-15T08:09:00.393Z","0.1.2":"2026-09-02T08:21:41.570Z","0.2.0":"2026-09-05T05:45:37.704Z","0.2.1":"2026-10-01T11:48:00.708Z"},"bugs":{"url":"https://github.com/capawesome-team/capacitor-plugins/issues"},"author":{"name":"Robin Genz","email":"mail@robingenz.dev"},"license":"MIT","homepage":"https://capawesome.io/docs/sdks/capacitor/action-sheet/","keywords":["capacitor","plugin","native","action-sheet","action sheet","bottom sheet","capacitor-plugin","native action sheet","context menu","popover","destructive button","cancel button"],"repository":{"url":"git+https://github.com/capawesome-team/capacitor-plugins.git","type":"git"},"description":"Capacitor plugin for native action sheets on Android and iOS.","maintainers":[{"name":"robingenz","email":"mail@robingenz.dev"}],"readme":"# Capacitor Action Sheet Plugin\n\nCapacitor plugin for native action sheets.\n\n<div class=\"capawesome-z29o10a\">\n  <a href=\"https://cloud.capawesome.io/\" target=\"_blank\">\n    <img alt=\"Deliver Live Updates to your Capacitor app with Capawesome Cloud\" src=\"https://cloud.capawesome.io/assets/banners/cloud-build-and-deploy-capacitor-apps.png?t=1\" />\n  </a>\n</div>\n\n## Features\n\n- 📋 **Action Sheet**: Present a native action sheet with a list of buttons.\n- 🎨 **Button Styles**: Highlight destructive actions and pin a cancel button.\n- 📝 **Title & Message**: Show a title and message on both Android and iOS.\n- 📱 **iPad Ready**: Automatically anchored as a popover on iPad.\n- 🔒 **App Store safe**: Uses only official platform APIs.\n- 🤝 **Compatibility**: Works alongside the [Dialog](https://capawesome.io/docs/sdks/capacitor/dialog/) plugin.\n- 📦 **CocoaPods & SPM**: Supports CocoaPods and Swift Package Manager for iOS.\n- 🔁 **Up-to-date**: Always supports the latest Capacitor version.\n\nMissing a feature? Just [open an issue](https://github.com/capawesome-team/capacitor-plugins/issues) and we'll take a look!\n\n## Use Cases\n\nThe Action Sheet plugin is typically used to let the user choose between several actions in a native way, for example:\n\n- **Contextual item actions**: Show options such as upload, share, or delete when the user taps an item in a list.\n- **Destructive confirmations**: Highlight irreversible actions like deleting a photo using the destructive button style.\n- **Photo source selection**: Ask the user whether to take a new photo or pick an existing one before opening the camera.\n- **Cancelable flows**: Pin a cancel button to the sheet so the user can always back out of an action.\n\n## Compatibility\n\n| Plugin Version | Capacitor Version | Status         |\n| -------------- | ----------------- | -------------- |\n| 0.x.x          | >=8.x.x           | Active support |\n\n## Installation\n\nYou can use our **AI-Assisted Setup** to install the plugin.\nAdd the [Capawesome Skills](https://github.com/capawesome-team/skills) to your AI tool using the following command:\n\n```bash\nnpx skills add capawesome-team/skills --skill capacitor-plugins\n```\n\nThen use the following prompt:\n\n```\n Use the `capacitor-plugins` skill from `capawesome-team/skills` to install the `@capawesome/capacitor-action-sheet` plugin in my project.\n```\n\nIf you prefer **Manual Setup**, install the plugin by running the following commands and follow the platform-specific instructions below:\n\n```bash\nnpm install @capawesome/capacitor-action-sheet\nnpx cap sync\n```\n\n### Android\n\n#### Variables\n\nThis plugin will use the following project variables (defined in your app's `variables.gradle` file):\n\n- `$androidxMaterialVersion` version of `com.google.android.material:material` (default: `1.12.0`)\n\n### iOS\n\nNo additional configuration is required for this plugin.\n\n## Configuration\n\nNo configuration required for this plugin.\n\n## Demo\n\n| Android                                                                                                                                                                          | iOS                                                                                                                                                                      |\n| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |\n| <img src=\"https://raw.githubusercontent.com/capawesome-team/capacitor-plugins/main/packages/action-sheet/assets/action-sheet-demo-android.png\" width=\"324\" alt=\"Android Demo\" /> | <img src=\"https://raw.githubusercontent.com/capawesome-team/capacitor-plugins/main/packages/action-sheet/assets/action-sheet-demo-ios.png\" width=\"266\" alt=\"iOS Demo\" /> |\n\n## Usage\n\nThe following example shows how to present a native action sheet and read the selected button.\n\n### Show an action sheet\n\nPresent a native action sheet with a title, a message, and a list of buttons. Use `ActionSheetButtonStyle.Destructive` to highlight irreversible actions and `ActionSheetButtonStyle.Cancel` to pin a cancel button. The result contains the zero-based index of the selected button. If the user selects the cancel button or dismisses the action sheet, the promise is rejected with the `CANCELED` error code. Only available on Android and iOS:\n\n```typescript\nimport { ActionSheet, ActionSheetButtonStyle, ErrorCode } from '@capawesome/capacitor-action-sheet';\n\nconst showActions = async () => {\n  try {\n    const { index } = await ActionSheet.showActions({\n      title: 'Photo Options',\n      message: 'Select an option to perform.',\n      options: [\n        { title: 'Upload' },\n        { title: 'Share' },\n        { title: 'Delete', style: ActionSheetButtonStyle.Destructive },\n        { title: 'Cancel', style: ActionSheetButtonStyle.Cancel },\n      ],\n    });\n    console.log('Index:', index);\n  } catch (error) {\n    if (error.code === ErrorCode.Canceled) {\n      console.log('The user canceled the action sheet.');\n    }\n  }\n};\n```\n\n## API\n\n<docgen-index>\n\n* [`showActions(...)`](#showactions)\n* [Interfaces](#interfaces)\n* [Enums](#enums)\n\n</docgen-index>\n\n<docgen-api>\n<!--Update the source file JSDoc comments and rerun docgen to update the docs below-->\n\n### showActions(...)\n\n```typescript\nshowActions(options: ShowActionsOptions) => Promise<ShowActionsResult>\n```\n\nShow an action sheet with a list of buttons.\n\nIf the user selects a button with the <a href=\"#actionsheetbuttonstyle\">`ActionSheetButtonStyle.Cancel`</a> style\nor dismisses the action sheet, the promise is rejected with the `CANCELED`\nerror code.\n\nOnly available on Android and iOS.\n\n| Param         | Type                                                              |\n| ------------- | ----------------------------------------------------------------- |\n| **`options`** | <code><a href=\"#showactionsoptions\">ShowActionsOptions</a></code> |\n\n**Returns:** <code>Promise&lt;<a href=\"#showactionsresult\">ShowActionsResult</a>&gt;</code>\n\n**Since:** 0.1.0\n\n--------------------\n\n\n### Interfaces\n\n\n#### ShowActionsResult\n\n| Prop        | Type                | Description                                                           | Since |\n| ----------- | ------------------- | --------------------------------------------------------------------- | ----- |\n| **`index`** | <code>number</code> | The index of the selected button in the `options` array (zero-based). | 0.1.0 |\n\n\n#### ShowActionsOptions\n\n| Prop             | Type                             | Description                                                                                                                                                                                                                                                                                                        | Default           | Since |\n| ---------------- | -------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ----------------- | ----- |\n| **`cancelable`** | <code>boolean</code>             | Whether the action sheet can be dismissed by tapping outside of it or pressing the back button. On iOS, this is a system behavior: on iPhone, tapping outside dismisses the action sheet only if it has a button with the `Cancel` style. On iPad, tapping outside always dismisses it. Only available on Android. | <code>true</code> | 0.1.0 |\n| **`message`**    | <code>string</code>              | The message to display below the title.                                                                                                                                                                                                                                                                            |                   | 0.1.0 |\n| **`options`**    | <code>ActionSheetButton[]</code> | The buttons to display in the action sheet.                                                                                                                                                                                                                                                                        |                   | 0.1.0 |\n| **`title`**      | <code>string</code>              | The title of the action sheet.                                                                                                                                                                                                                                                                                     |                   | 0.1.0 |\n\n\n#### ActionSheetButton\n\n| Prop        | Type                                                                      | Description              | Default                                     | Since |\n| ----------- | ------------------------------------------------------------------------- | ------------------------ | ------------------------------------------- | ----- |\n| **`style`** | <code><a href=\"#actionsheetbuttonstyle\">ActionSheetButtonStyle</a></code> | The style of the button. | <code>ActionSheetButtonStyle.Default</code> | 0.1.0 |\n| **`title`** | <code>string</code>                                                       | The title of the button. |                                             | 0.1.0 |\n\n\n### Enums\n\n\n#### ActionSheetButtonStyle\n\n| Members           | Value                      | Description                                                                                  | Since |\n| ----------------- | -------------------------- | -------------------------------------------------------------------------------------------- | ----- |\n| **`Cancel`**      | <code>'CANCEL'</code>      | A button that cancels the action sheet. It should be the last button in the `options` array. | 0.1.0 |\n| **`Default`**     | <code>'DEFAULT'</code>     | A button with the default style.                                                             | 0.1.0 |\n| **`Destructive`** | <code>'DESTRUCTIVE'</code> | A button that indicates a destructive action.                                                | 0.1.0 |\n\n</docgen-api>\n\n## Migrating from `@capacitor/action-sheet`\n\nThis plugin is largely API-compatible with the official [`@capacitor/action-sheet`](https://github.com/ionic-team/capacitor-plugins/tree/main/action-sheet) plugin. The `ActionSheetButtonStyle` enum uses the same values (`DEFAULT`, `DESTRUCTIVE`, `CANCEL`), so no enum changes are required. The following differences apply:\n\n| `@capacitor/action-sheet`                       | `@capawesome/capacitor-action-sheet`                   |\n| ----------------------------------------------- | ------------------------------------------------------ |\n| `showActions({ title, message, options })`      | `showActions({ title, message, options, cancelable })` |\n| Cancel button resolves with its `index`         | Cancel button rejects with the `CANCELED` error code   |\n| `message` and button styles ignored on Android  | `message` and button styles rendered on Android        |\n| `cancelable` not available                      | `cancelable` (default `true`)                          |\n\n## FAQ\n\n### How is this plugin different from other similar plugins?\n\nIt presents the platform's own native action sheet on Android and iOS through a fully typed API, rendering the title, message, and button styles — including destructive and cancel styles — consistently on both platforms, and automatically anchoring as a popover on iPad. The result reports the selected button index, a cancellation rejects the promise with the `CANCELED` error code, and the `cancelable` option controls dismissal, all using only official platform APIs. Actively maintained against the latest Capacitor version, it lets a single dependency cover the whole action-sheet story.\n\n### On which platforms can I show an action sheet?\n\nThe `showActions(...)` method is only available on Android and iOS, where it presents the native action sheet of the respective platform. On iPad, the action sheet is automatically anchored as a popover.\n\n### How do I know which button the user selected?\n\nThe result of `showActions(...)` contains the zero-based `index` of the selected button in the `options` array. If the user selects a button with the `ActionSheetButtonStyle.Cancel` style or dismisses the action sheet, the promise is rejected with the `CANCELED` error code instead.\n\n### Can the user dismiss the action sheet without selecting a button?\n\nYes. On Android, the action sheet can be dismissed by tapping outside of it or pressing the back button unless you set the `cancelable` option to `false`. On iOS, the `cancelable` option has no effect: on iPhone, tapping outside dismisses the action sheet only if it has a button with the `ActionSheetButtonStyle.Cancel` style, while on iPad, tapping outside always dismisses it. If the action sheet is dismissed, the promise is rejected with the `CANCELED` error code.\n\n### How is this plugin different from the official Capacitor Action Sheet plugin?\n\nThis plugin is largely API-compatible with the official `@capacitor/action-sheet` plugin and uses the same `ActionSheetButtonStyle` enum values. In addition, it renders the message and button styles on Android, rejects with the `CANCELED` error code when the user cancels, and supports the `cancelable` option. See the [migration section](#migrating-from-capacitoraction-sheet) for a detailed comparison.\n\n### Can I use this plugin together with the Capawesome Dialog plugin?\n\nYes, the plugin is designed to work alongside the [Dialog](https://capawesome.io/docs/sdks/capacitor/dialog/) plugin. Use an action sheet when the user has to choose between several actions, and a dialog for alerts, confirmations, and text input.\n\n### Can I use this plugin with Ionic, React, Vue or Angular?\n\nYes, the plugin is framework-agnostic. It works in any Capacitor app regardless of the web framework, including Ionic with Angular, React, or Vue, as well as plain JavaScript projects.\n\n## Related Plugins\n\n- [Dialog](https://capawesome.io/docs/sdks/capacitor/dialog/): Display native alert, confirm, and prompt dialogs.\n- [Haptics](https://capawesome.io/docs/sdks/capacitor/haptics/): Provide haptic feedback such as impacts, notifications, and vibrations.\n- [Toast](https://capawesome.io/docs/sdks/capacitor/toast/): Show native toast notifications.\n\n## Newsletter\n\nStay up to date with the latest news and updates about the Capawesome, Capacitor, and Ionic ecosystem by subscribing to our [Capawesome Newsletter](https://cloud.capawesome.io/newsletter/).\n\n## Changelog\n\nSee [CHANGELOG.md](https://github.com/capawesome-team/capacitor-plugins/blob/main/packages/action-sheet/CHANGELOG.md).\n\n## License\n\nSee [LICENSE](https://github.com/capawesome-team/capacitor-plugins/blob/main/packages/action-sheet/LICENSE).\n","readmeFilename":"README.md"}