UNPKG

@dialpad/dialtone-icons

Version:

Dialtone icon library

1 lines 4.04 kB
{"version":3,"file":"quote.cjs","sources":["../../../src/icons/quote.vue"],"sourcesContent":["<template>\n <svg :aria-label=\"ariaLabel\" :class=\"iconSizeClass\" :data-qa=\"dataQA\" :aria-hidden=\"ariaHidden\" role=\"img\" data-name=\"Quote\" class=\"d-icon d-icon--quote\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 12 12\"><path fill=\"currentColor\" fill-rule=\"evenodd\" d=\"M5.088 1.41c.285.286.412.677.412 1.09v4c0 1.845-.53 3.012-1.37 3.7-.822.671-1.84.8-2.63.8h-.02c-.107 0-.226 0-.324-.01a.728.728 0 0 1-.447-.199.728.728 0 0 1-.198-.447A3.122 3.122 0 0 1 .5 10.02V8.996c0-.11 0-.23.01-.33a.754.754 0 0 1 .192-.447.726.726 0 0 1 .45-.207C1.254 8 1.376 8 1.486 8H1.5a.51.51 0 0 0 .334-.166A.51.51 0 0 0 2 7.5V7c-.413 0-.802-.126-1.088-.412C.626 6.302.5 5.913.5 5.5V2.486c0-.409.128-.794.414-1.077C1.2 1.126 1.587 1 2 1h1.997c.415-.005.804.122 1.09.41Zm-.709.705c-.058-.058-.167-.118-.372-.115H2c-.212 0-.325.062-.383.12-.057.056-.117.164-.117.366V5.5c0 .212.062.323.12.38.057.058.168.12.38.12h.02c.107 0 .226 0 .324.01a.736.736 0 0 1 .447.199.728.728 0 0 1 .198.447C3 6.754 3 6.873 3 6.98v.52c0 .413-.201.783-.459 1.041C2.283 8.8 1.913 9 1.5 9v1c.71 0 1.442-.121 1.996-.574C4.03 8.988 4.5 8.156 4.5 6.5v-4c0-.212-.062-.326-.121-.385Zm6.708-.705c.286.286.413.677.413 1.09v4c0 1.845-.53 3.012-1.37 3.7-.822.671-1.84.8-2.63.8h-.02c-.107 0-.226 0-.324-.01a.728.728 0 0 1-.447-.199.728.728 0 0 1-.198-.447c-.011-.098-.011-.217-.011-.325V8.5A.5.5 0 0 1 7 8c.333 0 .52-.05.624-.101a.324.324 0 0 0 .167-.176c.042-.097.07-.24.08-.46a5.73 5.73 0 0 0 .007-.267c-.367-.023-.708-.15-.966-.408C6.626 6.302 6.5 5.913 6.5 5.5V2.486c0-.409.128-.794.414-1.077C7.2 1.126 7.587 1 8 1h1.997c.415-.005.804.122 1.09.41Zm-.708.705c-.058-.058-.167-.118-.372-.115H8c-.212 0-.325.062-.383.12-.057.056-.117.164-.117.366V5.5c0 .212.062.323.12.38.057.058.168.12.38.12h.375a.5.5 0 0 1 .5.5l.001.222c.002.198.004.404-.005.59-.013.26-.048.546-.162.81-.122.28-.327.516-.638.67-.17.086-.36.141-.571.174V10c.71 0 1.442-.121 1.996-.574.535-.438 1.004-1.27 1.004-2.926v-4c0-.212-.062-.326-.121-.385Z\" clip-rule=\"evenodd\"/></svg>\n</template>\n\n<script>\nimport { ICON_SIZE_MODIFIERS } from '@/src/constants';\n\nexport default {\n name: 'DtIconQuote',\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":"kIAOKA,EAAU,CACb,KAAM,cAEN,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,IACmNC,EAAkuD,mBAAA,OAAA,CAA5tD,KAAK,eAAe,YAAU,UAAU,EAAE,6pDAA6pD,YAAU,uBAAvtDC,gDAAjNC,EAAy7D,mBAAA,MAAA,CAAn7D,aAAYC,EAAS,UAAG,MADhCC,EAAAA,eAAA,CACuCC,EAAa,cAAiF,sBAAsB,CAAA,EAApG,UAASA,EAAM,OAAG,cAAaA,EAAU,WAAE,KAAK,MAAM,YAAU,QAAqC,MAAM,6BAA6B,QAAQ,aADvMC,EAAA,GAAAP,CAAA"}