@dialpad/dialtone-icons
Version:
Dialtone icon library
1 lines • 3.11 kB
Source Map (JSON)
{"version":3,"file":"ai-write.cjs","names":[],"sources":["../../../../src/icons/ai-write.vue"],"sourcesContent":["<template>\n <svg :aria-label=\"ariaLabel\" :class=\"iconSizeClass\" :data-qa=\"dataQA\" :aria-hidden=\"ariaHidden\" role=\"img\" data-name=\"Ai Write\" class=\"d-icon d-icon--ai-write\" viewBox=\"0 0 12 12\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M2.89 8.698v.392h.401l3.742-3.717-.398-.395-3.745 3.72Zm4.454-4.424.398.394 1.322-1.311-.399-.396-1.321 1.313Zm2.746-.917a.94.94 0 0 1-.283.669L8.102 5.722l-.003.004-.005.003L3.85 9.944a.5.5 0 0 1-.353.146H2.39a.5.5 0 0 1-.5-.5v-1.1c0-.133.053-.261.147-.355l5.96-5.918a.947.947 0 0 1 .305-.204l.088-.031a.952.952 0 0 1 .276-.041l.093.004a.95.95 0 0 1 .183.037l.087.03.084.04a.946.946 0 0 1 .222.165l.468.465a.943.943 0 0 1 .17.223l.042.085.033.088c.028.09.042.184.042.279ZM3.43 2c.04 0 .076.028.089.067A1.977 1.977 0 0 0 4.802 3.36c.041.013.07.05.07.093s-.029.08-.07.094a1.977 1.977 0 0 0-1.27 1.25.11.11 0 0 1-.103.076.11.11 0 0 1-.102-.075A1.977 1.977 0 0 0 2.073 3.55.104.104 0 0 1 2 3.452c0-.045.03-.084.073-.098A1.976 1.976 0 0 0 3.34 2.067.094.094 0 0 1 3.43 2Zm5.127 5.128c.041 0 .077.028.09.067A1.977 1.977 0 0 0 9.93 8.487c.041.013.07.05.07.093s-.029.08-.07.093a1.977 1.977 0 0 0-1.27 1.252.11.11 0 0 1-.103.075.11.11 0 0 1-.103-.075 1.977 1.977 0 0 0-1.253-1.247.104.104 0 0 1-.073-.098c0-.045.03-.084.073-.098a1.976 1.976 0 0 0 1.267-1.287.094.094 0 0 1 .09-.067Z\" fill=\"currentColor\"/></svg>\n</template>\n\n<script>\nimport { ICON_SIZE_MODIFIERS } from '@/src/constants';\n\nexport default {\n name: 'DtIconAiWrite',\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"],"mappings":"+HAOA,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,EAEvB,mHApDgzC,MAAA,CAAzyC,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,wEAA+mC,OAAA,CAA5kC,EAAE,qjCAAqjC,KAAK"}