{"version":3,"sources":["webpack:///./node_modules/@aws-amplify/ui-components/dist/esm-es5/amplify-icon-button.entry.js"],"names":["amplifyIconButtonCss","AmplifyIconButton","hostRef","this","tooltip","autoShowTooltip","prototype","componentWillLoad","console","warn","render","class","text","shouldAutoShow","name","style"],"mappings":"kHAAA,2EACIA,EAAuB,m4BACvBC,EAAmC,WACnC,SAASA,EAAkBC,GACvB,eAAiBC,KAAMD,GAEvBC,KAAKC,QAAU,KAEfD,KAAKE,iBAAkB,EAQ3B,OANAJ,EAAkBK,UAAUC,kBAAoB,WAC5CC,QAAQC,KAAK,qMAEjBR,EAAkBK,UAAUI,OAAS,WACjC,OAAQ,cAAD,CAAG,OAAQ,CAAEC,MAAO,iBAAmB,eAAE,kBAAmB,CAAEC,KAAMT,KAAKC,QAASS,eAAgBV,KAAKE,iBAAmB,eAAE,SAAU,KAAM,eAAE,eAAgB,CAAES,KAAMX,KAAKW,WAE/Kb,EAd2B,GAgBtCA,EAAkBc,MAAQf","file":"js/chunk-2d0abfcf.8be4cb70.js","sourcesContent":["import { r as registerInstance, h } from './index-83f2275b.js';\nvar amplifyIconButtonCss = \":host{--button-color:var(--amplify-secondary-contrast);--button-background-hover:var(--amplify-secondary-color)}.action-button button{position:relative;padding:0;background:none;height:54px;width:54px;cursor:pointer;outline:none;text-decoration:none;border:none;border-radius:30px;-webkit-transition:all 0.3s ease-in-out;transition:all 0.3s ease-in-out;color:var(--button-color);fill:currentColor}.action-button button:hover{background-color:var(--button-background-hover);-webkit-box-shadow:0.3px 0.3px 0.3px rgba(0, 0, 0, 0.3);box-shadow:0.3px 0.3px 0.3px rgba(0, 0, 0, 0.3)}.action-button button:hover>.tooltip{display:block}.action-button button:hover>svg{-webkit-filter:none;filter:none}.action-button button:focus{outline:none}.action-button button svg{width:1.8em;height:1.8em;-webkit-filter:drop-shadow(1px 1px 1px var(--amplify-grey));filter:drop-shadow(1px 1px 1px var(--amplify-grey))}\";\nvar AmplifyIconButton = /** @class */ (function () {\n function AmplifyIconButton(hostRef) {\n registerInstance(this, hostRef);\n /** (Optional) The tooltip that will show on hover of the button */\n this.tooltip = null;\n /** (Optional) Whether or not to show the tooltip automatically */\n this.autoShowTooltip = false;\n }\n AmplifyIconButton.prototype.componentWillLoad = function () {\n console.warn('Version `1.x` of Amplify UI has been deprecated and will be removed in a future major version of `aws-amplify`. Please visit https://ui.docs.amplify.aws/ for the current version of Amplify UI.');\n };\n AmplifyIconButton.prototype.render = function () {\n return (h(\"span\", { class: \"action-button\" }, h(\"amplify-tooltip\", { text: this.tooltip, shouldAutoShow: this.autoShowTooltip }, h(\"button\", null, h(\"amplify-icon\", { name: this.name })))));\n };\n return AmplifyIconButton;\n}());\nAmplifyIconButton.style = amplifyIconButtonCss;\nexport { AmplifyIconButton as amplify_icon_button };\n"],"sourceRoot":""}