@dialpad/dialtone-icons
Version:
Dialtone icon library
1 lines • 3.44 kB
Source Map (JSON)
{"version":3,"file":"dialpad-star-mark-color.cjs","sources":["../../../../src/icons/dialpad-star-mark-color.vue"],"sourcesContent":["<template>\n <svg :aria-label=\"ariaLabel\" :class=\"iconSizeClass\" :data-qa=\"dataQA\" :aria-hidden=\"ariaHidden\" role=\"img\" data-name=\"Dialpad Star Mark Color\" class=\"d-icon d-icon--dialpad-star-mark-color\" viewBox=\"0 0 24 24\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M20.259 11.193c.218-.102.172-.494-.061-.547-3.49-.802-6.208-3.999-6.791-8.01-.039-.265-.492-.328-.586-.078-1.503 4.791-4.756 8.542-9.084 10.37-.21.103-.168.467.058.523 3.41.848 6.056 3.987 6.648 7.92.04.26.455.318.55.075 1.733-5.014 5.05-8.78 9.266-10.254Z\" :fill=\"`url(#${uniqueID}a)`\"/><defs><linearGradient :id=\"`${uniqueID}a`\" x1=\"3.6\" y1=\"2.4\" x2=\"22.63\" y2=\"19.051\" gradientUnits=\"userSpaceOnUse\"><stop stop-color=\"#471571\"/><stop offset=\".031\" stop-color=\"#551B84\"/><stop offset=\".145\" stop-color=\"#7C229E\"/><stop offset=\".237\" stop-color=\"#9024A4\"/><stop offset=\".355\" stop-color=\"#B02290\"/><stop offset=\".483\" stop-color=\"#D32B86\"/><stop offset=\".603\" stop-color=\"#E92F6F\"/><stop offset=\".701\" stop-color=\"#F6484F\"/><stop offset=\".9\" stop-color=\"#FB7328\"/><stop offset=\".973\" stop-color=\"#F3960F\"/><stop offset=\"1\" stop-color=\"#F3960F\"/></linearGradient></defs></svg>\n</template>\n\n<script>\nimport { getUniqueString } from '@/src/utils';\nimport { ICON_SIZE_MODIFIERS } from '@/src/constants';\n\nexport default {\n name: 'DtIconDialpadStarMarkColor',\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"],"names":["_sfc_main","s","ICON_SIZE_MODIFIERS","getUniqueString","_createElementBlock","$props","_normalizeClass","$options","_createElementVNode","_ctx"],"mappings":"8KAQKA,EAAU,CACb,KAAM,6BAEN,MAAO,CAKL,KAAM,CACJ,KAAM,OACN,QAAS,MACT,UAAYC,GAAM,OAAO,KAAKC,GAAmB,EAAE,SAASD,CAAC,GAM/D,UAAW,CACT,KAAM,OACN,QAAS,SAQb,MAAO,CAAC,QAAQ,EAEhB,SAAU,CACR,eAAiB,CACf,OAAOC,EAAAA,EAAoB,KAAK,IAAI,CACtC,EAEA,YAAc,CACZ,OAAQ,KAAK,UAAqB,QAAT,MAC3B,EAEA,QAAU,CACR,OAAO,KAAK,OAAO,SAAS,GAAK,SACnC,GAGF,SAAW,CACT,KAAK,MAAM,QAAQ,EACnB,KAAK,SAAWC,IAAe,CACjC,CACF,4GAtDEC,EAAAA,mBAA0mC,MAAA,CAApmC,aAAYC,EAAA,UAAY,MAAKC,EAAAA,eAAA,CAAEC,EAAA,cAAgH,wCAAwC,CAAA,EAAxI,UAASA,EAAA,OAAS,cAAaA,EAAA,WAAY,KAAK,MAAM,YAAU,0BAAyE,QAAQ,YAAY,MAAM,+BAA6BC,EAAAA,mBAAyS,OAAA,CAAnS,EAAE,mQAAoQ,aAAcC,EAAA,QAAQ,gBAAOD,EAAAA,mBAAskB,OAAA,KAAA,CAAhkBA,EAAAA,mBAAyjB,iBAAA,CAAxiB,MAAOC,EAAA,QAAQ,IAAK,GAAG,MAAM,GAAG,MAAM,GAAG,QAAQ,GAAG,SAAS,cAAc"}