UNPKG

@dialpad/dialtone-icons

Version:
1 lines 3.28 kB
{"version":3,"file":"bell-off.cjs","names":[],"sources":["../../../../src/icons/bell-off.vue"],"sourcesContent":["<template>\n <svg :aria-label=\"ariaLabel\" :class=\"iconSizeClass\" :data-qa=\"dataQA\" :aria-hidden=\"ariaHidden\" role=\"img\" data-name=\"Bell Off\" class=\"d-icon d-icon--bell-off\" viewBox=\"0 0 12 12\" xmlns=\"http://www.w3.org/2000/svg\"><g :clip-path=\"`url(#${uniqueID}a)`\" fill=\"currentColor\"><path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M4.884 10.068a.5.5 0 0 1 .684.181.5.5 0 0 0 .865 0 .5.5 0 0 1 .865.502 1.5 1.5 0 0 1-2.595 0 .5.5 0 0 1 .181-.683Z\"/><path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M1.5 9a.5.5 0 0 1-.283-.912l.001-.001a1.51 1.51 0 0 0 .153-.142c.113-.118.274-.318.44-.622.33-.606.689-1.646.689-3.322v-.794L.646 1.354a.5.5 0 1 1 .708-.708l10 10a.5.5 0 0 1-.708.708L8.293 9H1.5Zm1.075-1c.038-.062.076-.128.114-.198.404-.74.781-1.887.81-3.597L7.292 8H2.575Z\"/><path d=\"M9.797 6.368a8.444 8.444 0 0 1-.297-2.36v-.007a3.5 3.5 0 0 0-5.442-2.917.5.5 0 0 0 .555.832A2.5 2.5 0 0 1 8.5 3.994v-.002.007-.006c-.014.891.098 1.78.333 2.639a.5.5 0 1 0 .964-.264Z\"/></g><defs><clipPath :id=\"`${uniqueID}a`\"><path fill=\"#fff\" d=\"M0 0h12v12H0z\"/></clipPath></defs></svg>\n</template>\n\n<script>\nimport { getUniqueString } from '@/src/utils';\nimport { ICON_SIZE_MODIFIERS } from '@/src/constants';\n\nexport default {\n name: 'DtIconBellOff',\n\n props: {\n /**\n * The size of the icon.\n * @values 100, 200, 300, 400, 500, 600, 700, 800\n */\n size: {\n type: String,\n default: '500',\n validator: (s) => Object.keys(ICON_SIZE_MODIFIERS).includes(s),\n },\n\n /**\n * The label of the icon as read out by a screenreader. Leave this unset if your icon is purely presentational\n */\n ariaLabel: {\n type: String,\n default: undefined,\n },\n },\n\n /**\n * @TODO: Remove this emit once the icons migration is complete,\n * they will no longer need this event.\n * */\n emits: ['loaded'],\n\n computed: {\n iconSizeClass () {\n return ICON_SIZE_MODIFIERS[this.size];\n },\n\n ariaHidden () {\n return !this.ariaLabel ? 'true' : 'false';\n },\n\n dataQA () {\n return this.$attrs['data-qa'] ?? 'dt-icon';\n },\n },\n\n created () {\n this.$emit('loaded');\n this.uniqueID = getUniqueString();\n },\n};\n</script>\n"],"mappings":"qKAQA,IAAK,EAAU,CACb,KAAM,gBAEN,MAAO,CAKL,KAAM,CACJ,KAAM,OACN,QAAS,MACT,UAAY,GAAM,OAAO,KAAK,EAAA,EAAoB,CAAC,SAAS,EAAE,CAC/D,CAKD,UAAW,CACT,KAAM,OACN,QAAS,IAAA,GACV,CACF,CAMD,MAAO,CAAC,SAAS,CAEjB,SAAU,CACR,eAAiB,CACf,OAAO,EAAA,EAAoB,KAAK,OAGlC,YAAc,CACZ,OAAQ,KAAK,UAAqB,QAAT,QAG3B,QAAU,CACR,OAAO,KAAK,OAAO,YAAc,WAEpC,CAED,SAAW,CACT,KAAK,MAAM,SAAS,CACpB,KAAK,SAAW,EAAA,GAAiB,EAEpC,4IAtDmiC,MAAA,CAA5hC,aAAY,EAAA,UAAY,OAAA,EAAA,EAAA,gBAAK,CAAE,EAAA,cAAiG,0BAAyB,CAAA,CAA1G,UAAS,EAAA,OAAS,cAAa,EAAA,WAAY,KAAK,MAAM,YAAU,WAA2C,QAAQ,YAAY,MAAM,wDAAswB,IAAA,CAAruB,YAAS,QAAU,EAAA,SAAQ,IAAM,KAAK,0DAAqL,OAAA,CAAhK,YAAU,UAAU,YAAU,UAAU,EAAE,wJAA2b,OAAA,CAA/T,YAAU,UAAU,YAAU,UAAU,EAAE,uTAAsd,OAAA,CAA3L,EAAE,wLAAuL,CAAA,KAAA,GAAA,kCAAkG,OAAA,KAAA,EAAA,EAAA,EAAA,oBAAP,WAAA,CAApE,GAAE,GAAK,EAAA,SAAQ,GAAA,CAAA,CAAA,GAAA,EAAA,KAAA,EAAA,GAAA,EAAA,EAAA,EAAA,oBAA0C,OAAA,CAA/B,KAAK,OAAO,EAAE"}