@dialpad/dialtone-icons
Version:
Dialtone icon library
1 lines • 2.75 kB
Source Map (JSON)
{"version":3,"file":"servicenow.cjs","sources":["../../../../src/icons/servicenow.vue"],"sourcesContent":["<template>\n <svg :aria-label=\"ariaLabel\" :class=\"iconSizeClass\" :data-qa=\"dataQA\" :aria-hidden=\"ariaHidden\" role=\"img\" data-name=\"Servicenow\" class=\"d-icon d-icon--servicenow\" viewBox=\"0 0 24 24\" xmlns=\"http://www.w3.org/2000/svg\"><path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M12.062 3C6.579 2.967 2.049 7.455 2 12.955a10.05 10.05 0 0 0 3.14 7.39c.707.674 1.809.74 2.581.14 1.135-.888 2.598-1.423 4.283-1.423 1.677 0 3.14.526 4.283 1.422.78.609 1.882.527 2.597-.147a10.044 10.044 0 0 0 3.124-7.292C22 7.513 17.553 3.033 12.062 3Zm-.058 15.06c-2.967 0-4.998-2.236-4.998-4.998s2.03-5.04 4.998-5.04c2.968 0 4.998 2.27 4.998 5.04 0 2.762-2.03 4.998-4.998 4.998Z\" fill=\"#83B6A2\"/></svg>\n</template>\n\n<script>\nimport { ICON_SIZE_MODIFIERS } from '@/src/constants';\n\nexport default {\n name: 'DtIconServicenow',\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 },\n};\n</script>\n"],"names":["_sfc_main","s","ICON_SIZE_MODIFIERS","_hoisted_1","_createElementVNode","_hoisted_2","_createElementBlock","$props","_normalizeClass","$options","_hoisted_3"],"mappings":"wIAOKA,EAAU,CACb,KAAM,mBAEN,MAAO,CAKL,KAAM,CACJ,KAAM,OACN,QAAS,MACT,UAAYC,GAAM,OAAO,KAAKC,GAAmB,EAAE,SAASD,CAAC,CAC9D,EAKD,UAAW,CACT,KAAM,OACN,QAAS,MACV,CACF,EAMD,MAAO,CAAC,QAAQ,EAEhB,SAAU,CACR,eAAiB,CACf,OAAOC,EAAmB,EAAC,KAAK,IAAI,CACrC,EAED,YAAc,CACZ,OAAQ,KAAK,UAAqB,QAAT,MAC1B,EAED,QAAU,CACR,OAAO,KAAK,OAAO,SAAS,GAAK,SAClC,CACF,EAED,SAAW,CACT,KAAK,MAAM,QAAQ,CACpB,CACH,EArDAC,EAAA,CAAA,aAAA,UAAA,aAAA,IAC6NC,EAAgc,mBAAA,OAAA,CAA1b,YAAU,UAAU,YAAU,UAAU,EAAE,gYAAgY,KAAK,uBAArbC,gDAA3NC,EAAiqB,mBAAA,MAAA,CAA3pB,aAAYC,EAAS,UAAG,MADhCC,EAAAA,eAAA,CACuCC,EAAa,cAAsF,2BAA2B,CAAA,EAA9G,UAASA,EAAM,OAAG,cAAaA,EAAU,WAAE,KAAK,MAAM,YAAU,aAA+C,QAAQ,YAAY,MAAM,8BADhMC,EAAA,GAAAP,CAAA"}