UNPKG

@dialpad/dialtone-icons

Version:

Dialtone icon library

56 lines (55 loc) 7.93 kB
import { I as e } from "../../constants-DeVuDy8J.js"; import { n as s } from "../../_plugin-vue2_normalizer-DSLOjnn3.js"; const l = { name: "DtIconSalesforceLogo", props: { /** * The size of the icon. * @values 100, 200, 300, 400, 500, 600, 700, 800 */ size: { type: String, default: "500", validator: (t) => Object.keys(e).includes(t) }, /** * The label of the icon as read out by a screenreader. Leave this unset if your icon is purely presentational */ ariaLabel: { type: String, default: void 0 } }, /** * @TODO: Remove this emit once the icons migration is complete, * they will no longer need this event. * */ emits: ["loaded"], computed: { iconSizeClass() { return e[this.size]; }, ariaHidden() { return this.ariaLabel ? "false" : "true"; }, dataQA() { return this.$attrs["data-qa"] ?? "dt-icon"; } }, created() { this.$emit("loaded"); } }; var r = function() { var a = this, c = a._self._c; return c("svg", { staticClass: "d-icon d-icon--salesforce-logo", class: a.iconSizeClass, attrs: { "aria-label": a.ariaLabel, "data-qa": a.dataQA, "aria-hidden": a.ariaHidden, role: "img", "data-name": "Salesforce Logo", viewBox: "0 0 58 40", xmlns: "http://www.w3.org/2000/svg" } }, [c("path", { attrs: { d: "M23.781 4.363c1.844-1.92 4.41-3.112 7.247-3.112 3.773 0 7.064 2.104 8.817 5.226a12.191 12.191 0 0 1 4.983-1.059c6.803 0 12.32 5.565 12.32 12.428 0 6.864-5.517 12.428-12.32 12.428-.815 0-1.628-.08-2.427-.241a9.004 9.004 0 0 1-11.8 3.706C29.034 37.419 25.39 40 21.14 40c-4.424 0-8.195-2.8-9.642-6.726a9.428 9.428 0 0 1-1.96.204C4.27 33.478 0 29.164 0 23.841a9.653 9.653 0 0 1 4.77-8.349 11.033 11.033 0 0 1-.914-4.408C3.856 4.963 8.826 0 14.956 0c3.6 0 6.798 1.711 8.825 4.363Z", fill: "#00A1E0" } }), c("path", { attrs: { d: "M8.277 20.743c-.035.094.013.113.025.13.107.078.216.134.326.197.583.309 1.133.4 1.709.4 1.172 0 1.9-.624 1.9-1.628v-.02c0-.928-.821-1.265-1.592-1.508l-.1-.033c-.582-.188-1.083-.351-1.083-.734v-.02c0-.328.293-.569.747-.569a3.38 3.38 0 0 1 1.49.382s.113.073.155-.037c.022-.059.218-.585.238-.642.022-.062-.017-.107-.057-.132a3.325 3.325 0 0 0-1.68-.45h-.117c-1.072 0-1.821.648-1.821 1.577v.02c0 .979.826 1.297 1.6 1.518l.125.038c.564.174 1.05.323 1.05.72v.02c0 .362-.316.633-.826.633-.197 0-.828-.004-1.51-.435-.082-.048-.13-.083-.193-.121-.034-.021-.118-.058-.154.053l-.232.641Zm17.162 0c-.036.094.013.113.024.13.107.078.217.134.326.197.583.309 1.134.4 1.71.4 1.172 0 1.9-.624 1.9-1.628v-.02c0-.928-.822-1.265-1.593-1.508l-.1-.033c-.581-.188-1.083-.351-1.083-.734v-.02c0-.328.293-.569.747-.569.505 0 1.104.168 1.49.382 0 0 .113.073.155-.037.023-.059.218-.585.238-.642.022-.062-.017-.107-.057-.132a3.325 3.325 0 0 0-1.679-.45H27.4c-1.073 0-1.822.648-1.822 1.577v.02c0 .979.826 1.297 1.6 1.518l.125.038c.564.174 1.05.323 1.05.72v.02c0 .362-.316.633-.825.633-.198 0-.83-.004-1.51-.435-.083-.048-.131-.081-.193-.121-.022-.014-.12-.052-.155.053l-.231.641Zm11.715-1.966c0 .567-.106 1.014-.314 1.33-.206.313-.518.465-.952.465-.436 0-.746-.151-.949-.465-.205-.315-.31-.763-.31-1.33 0-.567.105-1.013.31-1.325.203-.31.513-.46.949-.46.434 0 .746.15.953.46.207.312.313.758.313 1.325Zm.979-1.052a2.353 2.353 0 0 0-.446-.85 2.151 2.151 0 0 0-.75-.571 2.472 2.472 0 0 0-1.05-.21c-.397 0-.75.07-1.049.21-.3.14-.552.332-.752.571-.198.24-.348.526-.445.85a3.72 3.72 0 0 0-.143 1.052c0 .375.048.73.143 1.052.097.324.246.61.446.85.2.239.453.43.751.566.3.136.652.205 1.05.205.396 0 .749-.069 1.048-.205a2.1 2.1 0 0 0 .752-.566c.199-.239.349-.525.445-.85.096-.323.144-.678.144-1.052s-.048-.729-.144-1.052Zm8.035 2.695c-.032-.095-.124-.059-.124-.059a2.241 2.241 0 0 1-.455.13 3.541 3.541 0 0 1-.537.039c-.474 0-.85-.141-1.12-.42-.27-.278-.42-.728-.42-1.337.002-.555.136-.971.376-1.289.239-.316.602-.478 1.086-.478.404 0 .712.047 1.034.148 0 0 .077.034.114-.067.085-.238.149-.408.24-.67.026-.073-.038-.105-.06-.114a3.823 3.823 0 0 0-.653-.165 4.906 4.906 0 0 0-.735-.05c-.41 0-.777.07-1.09.21a2.26 2.26 0 0 0-.788.572c-.21.239-.37.525-.477.85-.105.323-.16.678-.16 1.053 0 .811.22 1.468.652 1.948.433.482 1.084.727 1.932.727.502 0 1.016-.102 1.386-.248 0 0 .07-.034.04-.116l-.24-.663Zm1.712-2.187c.047-.315.134-.577.268-.781.203-.31.512-.48.947-.48.435 0 .722.17.928.48.137.204.196.478.22.781H47.88Zm3.295-.692a2.055 2.055 0 0 0-.424-.775c-.214-.23-.422-.39-.629-.48a2.423 2.423 0 0 0-.949-.192c-.413 0-.789.07-1.093.212a2.176 2.176 0 0 0-.763.583 2.387 2.387 0 0 0-.449.86 3.721 3.721 0 0 0-.145 1.057c0 .381.05.737.15 1.057.101.323.262.607.48.842.218.237.498.423.833.552.333.128.738.195 1.203.194.956-.003 1.46-.216 1.668-.331.036-.02.072-.056.027-.159l-.216-.606c-.032-.09-.125-.057-.125-.057-.236.088-.574.246-1.36.244-.513 0-.894-.152-1.132-.39-.245-.242-.365-.598-.386-1.101l3.312.003s.087-.002.096-.086c.004-.036.114-.68-.098-1.427Zm-29.823.692c.048-.315.134-.577.268-.781.203-.31.512-.48.947-.48.435 0 .722.17.929.48.136.204.195.478.219.781h-2.363Zm3.294-.692a2.055 2.055 0 0 0-.423-.775c-.213-.23-.422-.39-.629-.48a2.423 2.423 0 0 0-.949-.192c-.413 0-.789.07-1.093.212a2.175 2.175 0 0 0-.763.583 2.386 2.386 0 0 0-.448.86 3.746 3.746 0 0 0-.146 1.057c0 .381.05.737.15 1.057.102.323.263.607.48.842.218.237.498.423.834.552.333.128.737.195 1.202.194.956-.003 1.46-.216 1.668-.331.037-.02.072-.056.028-.159l-.216-.606c-.033-.09-.125-.057-.125-.057-.237.088-.574.246-1.36.244-.514 0-.895-.152-1.133-.39-.245-.242-.365-.598-.386-1.101l3.313.003s.087-.002.096-.086c.003-.036.113-.68-.1-1.427Zm-10.453 2.861a.67.67 0 0 1-.192-.196c-.065-.102-.098-.247-.098-.43 0-.292.096-.501.295-.642-.002 0 .285-.248.96-.24.476.007.9.077.9.077v1.506s-.42.09-.894.12c-.674.04-.974-.195-.971-.195Zm1.318-2.327a7.397 7.397 0 0 0-.517-.016c-.284 0-.559.036-.816.105-.259.07-.492.178-.692.321-.2.143-.364.33-.48.546a1.597 1.597 0 0 0-.177.764c0 .293.05.548.151.756.101.21.247.384.433.518a1.8 1.8 0 0 0 .675.292c.26.06.554.09.876.09.34 0 .678-.028 1.006-.084.325-.055.724-.136.835-.161.078-.019.155-.039.232-.06.082-.02.076-.108.076-.108l-.002-3.029c0-.664-.178-1.157-.527-1.462-.347-.305-.86-.459-1.521-.459-.248 0-.648.035-.888.083 0 0-.723.14-1.021.373 0 0-.065.04-.03.131l.235.63c.03.082.108.054.108.054s.025-.01.055-.027c.637-.346 1.443-.336 1.443-.336.358 0 .633.072.82.214.18.139.272.348.272.79v.14a12.01 12.01 0 0 0-.546-.065Zm26.716-1.707a.09.09 0 0 0-.05-.119 2.87 2.87 0 0 0-.555-.095c-.416-.025-.647.045-.854.138-.205.092-.433.242-.56.412v-.403c0-.056-.04-.1-.095-.1h-.85c-.055 0-.095.044-.095.1v4.941c0 .055.046.1.101.1h.87a.1.1 0 0 0 .1-.1v-2.468c0-.332.037-.662.11-.87.072-.205.17-.37.29-.487.122-.118.26-.2.41-.246.154-.047.324-.063.444-.063.174 0 .364.045.364.045.064.007.1-.032.12-.09.058-.151.219-.604.25-.695Z", fill: "#fff" } }), c("path", { attrs: { d: "M34.059 14.078a2.592 2.592 0 0 0-.777-.112c-.6 0-1.072.17-1.404.503-.33.332-.553.838-.666 1.503l-.04.224h-.752s-.092-.004-.111.096l-.123.69c-.009.065.02.106.107.106h.732l-.742 4.145a5.124 5.124 0 0 1-.199.817 1.65 1.65 0 0 1-.231.471.615.615 0 0 1-.303.234 1.232 1.232 0 0 1-.39.056 1.47 1.47 0 0 1-.265-.03.782.782 0 0 1-.18-.057s-.085-.033-.119.053c-.027.07-.222.607-.246.673-.023.066.01.117.051.133.098.034.17.057.303.088.184.044.34.046.485.046.305 0 .583-.043.814-.126.23-.084.433-.23.612-.427.193-.213.314-.436.43-.741a6.38 6.38 0 0 0 .291-1.112l.747-4.223h1.09s.092.003.111-.097l.124-.689c.008-.065-.02-.106-.108-.106h-1.06c.006-.024.054-.397.176-.747a.977.977 0 0 1 .232-.354.696.696 0 0 1 .277-.172 1.35 1.35 0 0 1 .628-.024c.102.022.142.033.17.042.108.032.122 0 .143-.052l.254-.695c.026-.075-.039-.107-.061-.116ZM19.26 21.242c0 .056-.04.1-.095.1h-.879c-.055 0-.094-.044-.094-.1v-7.07c0-.055.039-.1.094-.1h.879c.055 0 .095.046.095.1v7.07Z", fill: "#fff" } })]); }, i = [], o = /* @__PURE__ */ s( l, r, i ); const m = o.exports; export { m as default }; //# sourceMappingURL=salesforce-logo.js.map