@nectary/assets 3.2.1 → 3.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bundle.js +41 -43
- package/icons-channel/apple-business-chat/index.js +1 -1
- package/icons-channel/apple-business-chat-square/index.js +1 -1
- package/icons-channel/create-icon-class.js +2 -4
- package/icons-channel/facebook/index.js +1 -1
- package/icons-channel/facebook-messenger/index.js +1 -1
- package/icons-channel/facebook-messenger-square/index.js +1 -1
- package/icons-channel/facebook-square/index.js +1 -1
- package/icons-channel/google-business/index.js +1 -1
- package/icons-channel/google-business-square/index.js +1 -1
- package/icons-channel/instagram/index.js +1 -1
- package/icons-channel/instagram-square/index.js +1 -1
- package/icons-channel/line/index.js +1 -1
- package/icons-channel/line-square/index.js +1 -1
- package/icons-channel/mms-round/index.js +1 -1
- package/icons-channel/mms-square/index.js +1 -1
- package/icons-channel/notify/index.js +1 -1
- package/icons-channel/notify-square/index.js +1 -1
- package/icons-channel/phone-round/global/index.d.ts +24 -0
- package/icons-channel/phone-round/global/index.js +2 -0
- package/icons-channel/phone-round/index.d.ts +25 -0
- package/icons-channel/phone-round/index.js +8 -0
- package/icons-channel/phone-square/global/index.d.ts +24 -0
- package/icons-channel/phone-square/global/index.js +2 -0
- package/icons-channel/phone-square/index.d.ts +25 -0
- package/icons-channel/phone-square/index.js +8 -0
- package/icons-channel/push-round/index.js +1 -1
- package/icons-channel/push-square/index.js +1 -1
- package/icons-channel/rcs-round/index.js +1 -1
- package/icons-channel/rcs-square/index.js +1 -1
- package/icons-channel/sms-round/index.js +1 -1
- package/icons-channel/sms-square/index.js +1 -1
- package/icons-channel/talk/index.js +1 -1
- package/icons-channel/talk-square/index.js +1 -1
- package/icons-channel/telegram/index.js +1 -1
- package/icons-channel/telegram-square/index.js +1 -1
- package/icons-channel/twitter/index.js +1 -1
- package/icons-channel/twitter-square/index.js +1 -1
- package/icons-channel/viber/index.js +1 -1
- package/icons-channel/viber-square/index.js +1 -1
- package/icons-channel/webchat-round/index.js +1 -1
- package/icons-channel/webchat-square/index.js +1 -1
- package/icons-channel/wechat/index.js +1 -1
- package/icons-channel/wechat-square/index.js +1 -1
- package/icons-channel/whatsapp/index.js +1 -1
- package/icons-channel/whatsapp-square/index.js +1 -1
- package/package.json +2 -2
- package/utils/asset-names.d.ts +2 -2
- package/utils/asset-names.js +2 -0
- package/utils/element.d.ts +2 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineCustomElement } from "../../utils/element.js";
|
|
2
2
|
import { createIconClass } from "../create-icon-class.js";
|
|
3
|
-
const templateHTML = '<svg viewBox="0 0 48 48" aria-hidden="true" focusable="false"><
|
|
3
|
+
const templateHTML = '<style>:host{--sinch-comp-icon-channel-shape-radius:var(--sinch-sys-shape-radius-full, 9999px);background:var(--sinch-comp-icon-channel-color-apple-business-chat-bg,linear-gradient(0deg,#0cbd2a 0,#5bf675 100%))}#shape-a{fill:var(--sinch-comp-icon-channel-color-apple-business-chat-layera,#FFF)}</style><svg viewBox="0 0 48 48" aria-hidden="true" focusable="false"><path id="shape-a" d="M24 37.1913C32.8366 37.1913 40 31.2853 40 23.9999C40 16.7146 32.8366 10.8086 24 10.8086C15.1634 10.8086 8 16.7146 8 23.9999C8 25.4762 8.27034 27.7368 9.33291 29.5527C11.3463 32.9934 12.1576 34.6161 9.68839 36.8115C9.60626 37.1058 9.66126 37.1953 9.98146 37.1913C12.327 36.9617 13.523 36.566 15.3058 35.0757C17.8089 36.414 20.7944 37.1913 24 37.1913Z"/></svg>';
|
|
4
4
|
const IconChannelAppleBusinessChat = createIconClass(templateHTML);
|
|
5
5
|
defineCustomElement("sinch-icon-channel-apple-business-chat", IconChannelAppleBusinessChat);
|
|
6
6
|
export {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineCustomElement } from "../../utils/element.js";
|
|
2
2
|
import { createIconClass } from "../create-icon-class.js";
|
|
3
|
-
const templateHTML = '<svg viewBox="0 0 48 48" aria-hidden="true" focusable="false"><path d="
|
|
3
|
+
const templateHTML = '<style>:host{background:var(--sinch-comp-icon-channel-color-apple-business-chat-bg,linear-gradient(0deg,#0cbd2a 0,#5bf675 100%))}#shape-a{fill:var(--sinch-comp-icon-channel-color-apple-business-chat-layera,#FFF)}</style><svg viewBox="0 0 48 48" aria-hidden="true" focusable="false"><path id="shape-a" d="M24 37.1913C32.8366 37.1913 40 31.2853 40 23.9999C40 16.7146 32.8366 10.8086 24 10.8086C15.1634 10.8086 8 16.7146 8 23.9999C8 25.4762 8.27034 27.7368 9.33291 29.5527C11.3463 32.9934 12.1576 34.6161 9.68839 36.8115C9.60626 37.1058 9.66126 37.1953 9.98146 37.1913C12.327 36.9617 13.523 36.566 15.3058 35.0757C17.8089 36.414 20.7944 37.1913 24 37.1913Z"/></svg>';
|
|
4
4
|
const IconChannelAppleBusinessChatSquare = createIconClass(templateHTML);
|
|
5
5
|
defineCustomElement("sinch-icon-channel-apple-business-chat-square", IconChannelAppleBusinessChatSquare);
|
|
6
6
|
export {
|
|
@@ -1,9 +1,7 @@
|
|
|
1
1
|
import { updateAttribute, getIntegerAttribute, attrValueToPixels } from "../utils/dom.js";
|
|
2
2
|
import { NectaryElement } from "../utils/element.js";
|
|
3
|
-
const iconStylesHtml = "<style>:host{display:inline-block;vertical-align:middle}svg{display:block;pointer-events:none;height:var(--sinch-
|
|
3
|
+
const iconStylesHtml = "<style>:host{--sinch-comp-icon-channel-shape-radius:calc(var(--sinch-comp-icon-channel-size, 48px) / 4);display:inline-block;vertical-align:middle;border-radius:var(--sinch-comp-icon-channel-shape-radius,12px)}svg{display:block;pointer-events:none;height:var(--sinch-comp-icon-channel-size,48px)}</style>";
|
|
4
4
|
const DEFAULT_SIZE = 48;
|
|
5
|
-
const MIN_SIZE = 4;
|
|
6
|
-
const MAX_SIZE = 256;
|
|
7
5
|
const createIconClass = (templateHTML) => {
|
|
8
6
|
const template = document.createElement("template");
|
|
9
7
|
template.innerHTML = iconStylesHtml + templateHTML;
|
|
@@ -30,7 +28,7 @@ const createIconClass = (templateHTML) => {
|
|
|
30
28
|
attributeChangedCallback(name, _, newVal) {
|
|
31
29
|
switch (name) {
|
|
32
30
|
case "size": {
|
|
33
|
-
this
|
|
31
|
+
this.style.setProperty("--sinch-comp-icon-channel-size", attrValueToPixels(newVal));
|
|
34
32
|
break;
|
|
35
33
|
}
|
|
36
34
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineCustomElement } from "../../utils/element.js";
|
|
2
2
|
import { createIconClass } from "../create-icon-class.js";
|
|
3
|
-
const templateHTML = '<svg viewBox="0 0 48 48" aria-hidden="true" focusable="false"><path
|
|
3
|
+
const templateHTML = '<style>:host{--sinch-comp-icon-channel-shape-radius:var(--sinch-sys-shape-radius-full, 9999px);background:var(--sinch-comp-icon-channel-color-facebook-bg,linear-gradient(180deg,#1877f2 0,#1877f2 100%))}#shape-a{fill:var(--sinch-comp-icon-channel-color-facebook-chat-layera,#FFF)}</style><svg viewBox="0 0 48 48" aria-hidden="true" focusable="false"><path id="shape-a" d="M33.3459 30.9375L34.41 24H27.7538V19.498C27.7538 17.6 28.6835 15.75 31.6649 15.75H34.6913V9.84375C34.6913 9.84375 31.9447 9.375 29.3189 9.375C23.8368 9.375 20.2538 12.6975 20.2538 18.7125V24H14.16V30.9375H20.2538V48C21.4899 48 22.728 48 24.0038 48C25.2795 48 26.4959 48 27.7538 48V30.9375H33.3459Z"/></svg>';
|
|
4
4
|
const IconChannelFacebook = createIconClass(templateHTML);
|
|
5
5
|
defineCustomElement("sinch-icon-channel-facebook", IconChannelFacebook);
|
|
6
6
|
export {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineCustomElement } from "../../utils/element.js";
|
|
2
2
|
import { createIconClass } from "../create-icon-class.js";
|
|
3
|
-
const templateHTML = '<svg viewBox="0 0 48 48" aria-hidden="true" focusable="false"><
|
|
3
|
+
const templateHTML = '<style>:host{--sinch-comp-icon-channel-shape-radius:var(--sinch-sys-shape-radius-full, 9999px);background:var(--sinch-comp-icon-channel-color-facebook-messenger-bg,linear-gradient(45deg,#09f 0,#a033ff 45%,#ff5280 82%,#ff7061 100%))}#shape-a{fill:var(--sinch-comp-icon-channel-color-facebook-messenger-layera,#FFF)}</style><svg viewBox="0 0 48 48" aria-hidden="true" focusable="false"><path id="shape-a" fill-rule="evenodd" clip-rule="evenodd" d="M9.09998 23.548C9.09998 15.2421 15.6772 9.03766 24.1478 9.03766C32.7181 9.03766 39.2953 15.2421 39.3949 23.6481C39.3949 31.954 32.7181 38.1584 24.2474 38.1584C22.7526 38.1584 21.2578 37.9583 19.8626 37.558C19.5637 37.558 19.3644 37.558 19.0654 37.6581L16.0758 38.959C15.2785 39.2592 14.3817 38.6588 14.3817 37.8582L14.282 35.1563C14.282 34.756 14.0827 34.4558 13.8834 34.2556C10.8938 31.6538 9.09998 27.9511 9.09998 23.548ZM19.5637 20.846L15.0792 27.851C14.6806 28.4515 15.4779 29.252 16.0758 28.7517L20.8592 25.1491C21.1582 24.949 21.6564 24.949 21.9554 25.1491L25.4433 27.751C26.5395 28.5515 28.0343 28.2513 28.7319 27.1505L33.2163 20.1455C33.7146 19.5451 32.8177 18.7446 32.2198 19.2449L27.4364 22.8475C27.1374 23.0476 26.6391 23.0476 26.3402 22.8475L22.8523 20.2456C21.7561 19.4451 20.2613 19.7453 19.5637 20.846Z"/></svg>';
|
|
4
4
|
const IconChannelFacebookMessenger = createIconClass(templateHTML);
|
|
5
5
|
defineCustomElement("sinch-icon-channel-facebook-messenger", IconChannelFacebookMessenger);
|
|
6
6
|
export {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineCustomElement } from "../../utils/element.js";
|
|
2
2
|
import { createIconClass } from "../create-icon-class.js";
|
|
3
|
-
const templateHTML = '<svg viewBox="0 0 48 48" aria-hidden="true" focusable="false"><path d="
|
|
3
|
+
const templateHTML = '<style>:host{background:var(--sinch-comp-icon-channel-color-facebook-messenger-bg,linear-gradient(45deg,#09f 0,#a033ff 45%,#ff5280 82%,#ff7061 100%))}#shape-a{fill:var(--sinch-comp-icon-channel-color-facebook-messenger-layera,#FFF)}</style><svg viewBox="0 0 48 48" aria-hidden="true" focusable="false"><path id="shape-a" fill-rule="evenodd" clip-rule="evenodd" d="M9.09998 23.548C9.09998 15.2421 15.6772 9.03766 24.1478 9.03766C32.7181 9.03766 39.2953 15.2421 39.3949 23.6481C39.3949 31.954 32.7181 38.1584 24.2474 38.1584C22.7526 38.1584 21.2578 37.9583 19.8626 37.558C19.5637 37.558 19.3644 37.558 19.0654 37.6581L16.0758 38.959C15.2785 39.2592 14.3817 38.6588 14.3817 37.8582L14.282 35.1563C14.282 34.756 14.0827 34.4558 13.8834 34.2556C10.8938 31.6538 9.09998 27.9511 9.09998 23.548ZM19.5637 20.846L15.0792 27.851C14.6806 28.4515 15.4779 29.252 16.0758 28.7517L20.8592 25.1491C21.1582 24.949 21.6564 24.949 21.9554 25.1491L25.4433 27.751C26.5395 28.5515 28.0343 28.2513 28.7319 27.1505L33.2163 20.1455C33.7146 19.5451 32.8177 18.7446 32.2198 19.2449L27.4364 22.8475C27.1374 23.0476 26.6391 23.0476 26.3402 22.8475L22.8523 20.2456C21.7561 19.4451 20.2613 19.7453 19.5637 20.846Z"/></svg>';
|
|
4
4
|
const IconChannelFacebookMessengerSquare = createIconClass(templateHTML);
|
|
5
5
|
defineCustomElement("sinch-icon-channel-facebook-messenger-square", IconChannelFacebookMessengerSquare);
|
|
6
6
|
export {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineCustomElement } from "../../utils/element.js";
|
|
2
2
|
import { createIconClass } from "../create-icon-class.js";
|
|
3
|
-
const templateHTML = '<svg viewBox="0 0 48 48" aria-hidden="true" focusable="false"><path d="
|
|
3
|
+
const templateHTML = '<style>:host{background:var(--sinch-comp-icon-channel-color-facebook-bg,linear-gradient(180deg,#1877f2 0,#1877f2 100%))}#shape-a{fill:var(--sinch-comp-icon-channel-color-facebook-chat-layera,#FFF)}</style><svg viewBox="0 0 48 48" aria-hidden="true" focusable="false"><path id="shape-a" d="M33.3459 30.9375L34.41 24H27.7538V19.498C27.7538 17.6 28.6835 15.75 31.6649 15.75H34.6913V9.84375C34.6913 9.84375 31.9447 9.375 29.3189 9.375C23.8368 9.375 20.2538 12.6975 20.2538 18.7125V24H14.16V30.9375H20.2538V48C21.4899 48 22.728 48 24.0038 48C25.2795 48 26.4959 48 27.7538 48V30.9375H33.3459Z"/></svg>';
|
|
4
4
|
const IconChannelFacebookSquare = createIconClass(templateHTML);
|
|
5
5
|
defineCustomElement("sinch-icon-channel-facebook-square", IconChannelFacebookSquare);
|
|
6
6
|
export {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineCustomElement } from "../../utils/element.js";
|
|
2
2
|
import { createIconClass } from "../create-icon-class.js";
|
|
3
|
-
const templateHTML = '<svg viewBox="0 0 48 48" aria-hidden="true" focusable="false"><
|
|
3
|
+
const templateHTML = '<style>:host{--sinch-comp-icon-channel-shape-radius:var(--sinch-sys-shape-radius-full, 9999px);background:var(--sinch-icon-channel-color-google-business-bg,linear-gradient(180deg,#fff 0,#fff 100%))}#shape-a{fill:var(--comp-icon-channel-color-google-business-layera,#EA4335)}#shape-b{fill:var(--comp-icon-channel-color-google-business-layerb,#FBBC05)}#shape-c{fill:var(--comp-icon-channel-color-google-business-layerc,#34A853)}#shape-d{fill:var(--comp-icon-channel-color-google-business-layerd,#4285F4)}</style><svg viewBox="0 0 48 48" aria-hidden="true" focusable="false"><path id="shape-d" fill-rule="evenodd" clip-rule="evenodd" d="M35.76 24.2727C35.76 23.4218 35.6836 22.6036 35.5418 21.8182H24.24V26.46H30.6982C30.42 27.96 29.5745 29.2309 28.3036 30.0818L32.1818 33.0927C34.4509 31.0036 35.76 27.9273 35.76 24.2727Z"/><path id="shape-c" fill-rule="evenodd" clip-rule="evenodd" d="M24.24 36C27.48 36 30.1964 34.9255 32.1818 33.0927L28.3036 30.0818C27.2291 30.8018 25.8545 31.2273 24.24 31.2273C21.1145 31.2273 18.4691 29.1164 17.5254 26.28L13.5164 29.3891C15.4909 33.3109 19.5491 36 24.24 36Z"/><path id="shape-b" fill-rule="evenodd" clip-rule="evenodd" d="M17.5254 26.28C17.2854 25.56 17.1491 24.7909 17.1491 24C17.1491 23.2091 17.2854 22.44 17.5254 21.72L13.5164 18.6109C12.7036 20.2309 12.24 22.0636 12.24 24C12.24 25.9364 12.7036 27.7691 13.5164 29.3891L17.5254 26.28Z"/><path id="shape-a" fill-rule="evenodd" clip-rule="evenodd" d="M24.24 16.7727C26.0018 16.7727 27.5836 17.3782 28.8273 18.5673L32.2691 15.1255C30.1909 13.1891 27.4745 12 24.24 12C19.5491 12 15.4909 14.6891 13.5164 18.6109L17.5254 21.72C18.4691 18.8836 21.1145 16.7727 24.24 16.7727Z"/></svg>';
|
|
4
4
|
const IconChannelGoogleBusiness = createIconClass(templateHTML);
|
|
5
5
|
defineCustomElement("sinch-icon-channel-google-business", IconChannelGoogleBusiness);
|
|
6
6
|
export {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineCustomElement } from "../../utils/element.js";
|
|
2
2
|
import { createIconClass } from "../create-icon-class.js";
|
|
3
|
-
const templateHTML = '<svg viewBox="0 0 48 48" aria-hidden="true" focusable="false"><path
|
|
3
|
+
const templateHTML = '<style>:host{background:var(--sinch-icon-channel-color-google-business-bg,linear-gradient(180deg,#fff 0,#fff 100%))}#shape-a{fill:var(--comp-icon-channel-color-google-business-layera,#EA4335)}#shape-b{fill:var(--comp-icon-channel-color-google-business-layerb,#FBBC05)}#shape-c{fill:var(--comp-icon-channel-color-google-business-layerc,#34A853)}#shape-d{fill:var(--comp-icon-channel-color-google-business-layerd,#4285F4)}</style><svg viewBox="0 0 48 48" aria-hidden="true" focusable="false"><path id="shape-d" fill-rule="evenodd" clip-rule="evenodd" d="M35.76 24.2727C35.76 23.4218 35.6836 22.6036 35.5418 21.8182H24.24V26.46H30.6982C30.42 27.96 29.5745 29.2309 28.3036 30.0818L32.1818 33.0927C34.4509 31.0036 35.76 27.9273 35.76 24.2727Z"/><path id="shape-c" fill-rule="evenodd" clip-rule="evenodd" d="M24.24 36C27.48 36 30.1964 34.9255 32.1818 33.0927L28.3036 30.0818C27.2291 30.8018 25.8545 31.2273 24.24 31.2273C21.1145 31.2273 18.4691 29.1164 17.5254 26.28L13.5164 29.3891C15.4909 33.3109 19.5491 36 24.24 36Z"/><path id="shape-b" fill-rule="evenodd" clip-rule="evenodd" d="M17.5254 26.28C17.2854 25.56 17.1491 24.7909 17.1491 24C17.1491 23.2091 17.2854 22.44 17.5254 21.72L13.5164 18.6109C12.7036 20.2309 12.24 22.0636 12.24 24C12.24 25.9364 12.7036 27.7691 13.5164 29.3891L17.5254 26.28Z"/><path id="shape-a" fill-rule="evenodd" clip-rule="evenodd" d="M24.24 16.7727C26.0018 16.7727 27.5836 17.3782 28.8273 18.5673L32.2691 15.1255C30.1909 13.1891 27.4745 12 24.24 12C19.5491 12 15.4909 14.6891 13.5164 18.6109L17.5254 21.72C18.4691 18.8836 21.1145 16.7727 24.24 16.7727Z"/></svg>';
|
|
4
4
|
const IconChannelGoogleBusinessSquare = createIconClass(templateHTML);
|
|
5
5
|
defineCustomElement("sinch-icon-channel-google-business-square", IconChannelGoogleBusinessSquare);
|
|
6
6
|
export {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineCustomElement } from "../../utils/element.js";
|
|
2
2
|
import { createIconClass } from "../create-icon-class.js";
|
|
3
|
-
const templateHTML = '<svg viewBox="0 0 48 48" aria-hidden="true" focusable="false"><
|
|
3
|
+
const templateHTML = '<style>:host{--sinch-comp-icon-channel-shape-radius:var(--sinch-sys-shape-radius-full, 9999px);background:var(--sinch-comp-icon-channel-color-instagram-bg,linear-gradient(225deg,#4f3eb7 0,#9132ae 19%,#cf288b 53%,#ffd43c 100%))}#shape-a{fill:var(--sinch-comp-icon-channel-color-instagram-layera,#FFF)}</style><svg viewBox="0 0 48 48" aria-hidden="true" focusable="false"><path id="shape-a" d="M19.2 24C19.2 21.2887 21.4 19.1799 24 19.1799C26.7 19.1799 28.8 21.3891 28.8 24C28.8 26.6109 26.6 28.8201 24 28.8201C21.3 28.8201 19.2 26.7113 19.2 24ZM16.6 24C16.6 28.1172 19.9 31.431 24 31.431C28.1 31.431 31.4 28.1172 31.4 24C31.4 19.8828 28.1 16.569 24 16.569C19.9 16.569 16.6 19.8828 16.6 24ZM30 16.2678C30 16.569 30.1 16.9707 30.3 17.272C30.5 17.5732 30.8 17.7741 31.1 17.8745C31.4 17.9749 31.8 18.0753 32.1 17.9749C32.4 17.8745 32.7 17.7741 33 17.4728C33.2 17.272 33.4 16.8703 33.5 16.569C33.6 16.2678 33.5 15.8661 33.4 15.5649C33.3 15.2636 33 14.9623 32.8 14.7615C32.5 14.5607 32.2 14.4603 31.8 14.4603C31.3 14.4603 30.9 14.6611 30.6 14.9623C30.2 15.364 30 15.7657 30 16.2678ZM18.2 35.749C16.8 35.6485 16 35.4477 15.5 35.2469C14.8 34.9456 14.3 34.6444 13.8 34.1423C13.3 33.6402 13 33.1381 12.7 32.4351C12.5 31.9331 12.3 31.1297 12.2 29.7238C12.1 28.2176 12.1 27.7155 12.1 23.8996C12.1 20.0837 12.1 19.5816 12.2 18.0753C12.3 16.6695 12.5 15.8661 12.7 15.364C13 14.6611 13.3 14.159 13.8 13.6569C14.3 13.1548 14.8 12.8536 15.5 12.5523C16 12.3515 16.8 12.1506 18.2 12.0502C19.7 11.9498 20.2 11.9498 24 11.9498C27.8 11.9498 28.3 11.9498 29.8 12.0502C31.2 12.1506 32 12.3515 32.5 12.5523C33.2 12.8536 33.7 13.1548 34.2 13.6569C34.7 14.159 35 14.6611 35.3 15.364C35.5 15.8661 35.7 16.6695 35.8 18.0753C35.9 19.5816 35.9 20.0837 35.9 23.8996C35.9 27.7155 35.9 28.2176 35.8 29.7238C35.7 31.1297 35.5 31.9331 35.3 32.4351C35 33.1381 34.7 33.6402 34.2 34.1423C33.7 34.6444 33.2 34.9456 32.5 35.2469C32 35.4477 31.2 35.6485 29.8 35.749C28.3 35.8494 27.8 35.8494 24 35.8494C20.1 35.8494 19.7 35.8494 18.2 35.749ZM18.1 9.64017C16.6 9.74059 15.5 9.94142 14.6 10.3431C13.7 10.7448 12.8 11.2469 12 12.0502C11.2 12.8536 10.7 13.6569 10.3 14.6611C9.9 15.5649 9.7 16.6695 9.6 18.1757C9.5 19.682 9.5 20.1841 9.5 24.1004C9.5 28.0167 9.5 28.5188 9.6 30.0251C9.7 31.5314 9.9 32.636 10.3 33.5397C10.7 34.4435 11.2 35.3473 12 36.1506C12.8 36.954 13.6 37.4561 14.6 37.8577C15.5 38.2594 16.6 38.4603 18.1 38.5607C19.6 38.6611 20.1 38.6611 24 38.6611C27.9 38.6611 28.4 38.6611 29.9 38.5607C31.4 38.4603 32.5 38.2594 33.4 37.8577C34.3 37.4561 35.2 36.954 36 36.1506C36.8 35.3473 37.3 34.5439 37.7 33.5397C38.1 32.636 38.3 31.5314 38.4 30.0251C38.5 28.5188 38.5 28.0167 38.5 24.1004C38.5 20.1841 38.5 19.682 38.4 18.1757C38.3 16.6695 38.1 15.5649 37.7 14.6611C37.3 13.7573 36.8 12.8536 36 12.0502C35.2 11.2469 34.4 10.7448 33.4 10.3431C32.5 9.94142 31.4 9.74059 29.9 9.64017C28.4 9.53975 27.9 9.53975 24 9.53975C20.1 9.53975 19.6 9.53975 18.1 9.64017Z"/></svg>';
|
|
4
4
|
const IconChannelInstagram = createIconClass(templateHTML);
|
|
5
5
|
defineCustomElement("sinch-icon-channel-instagram", IconChannelInstagram);
|
|
6
6
|
export {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineCustomElement } from "../../utils/element.js";
|
|
2
2
|
import { createIconClass } from "../create-icon-class.js";
|
|
3
|
-
const templateHTML = '<svg viewBox="0 0 48 48" aria-hidden="true" focusable="false"><path d="
|
|
3
|
+
const templateHTML = '<style>:host{background:var(--sinch-comp-icon-channel-color-instagram-bg,linear-gradient(225deg,#4f3eb7 0,#9132ae 19%,#cf288b 53%,#ffd43c 100%))}#shape-a{fill:var(--sinch-comp-icon-channel-color-instagram-layera,#FFF)}</style><svg viewBox="0 0 48 48" aria-hidden="true" focusable="false"><path id="shape-a" d="M19.2 24C19.2 21.2887 21.4 19.1799 24 19.1799C26.7 19.1799 28.8 21.3891 28.8 24C28.8 26.6109 26.6 28.8201 24 28.8201C21.3 28.8201 19.2 26.7113 19.2 24ZM16.6 24C16.6 28.1172 19.9 31.431 24 31.431C28.1 31.431 31.4 28.1172 31.4 24C31.4 19.8828 28.1 16.569 24 16.569C19.9 16.569 16.6 19.8828 16.6 24ZM30 16.2678C30 16.569 30.1 16.9707 30.3 17.272C30.5 17.5732 30.8 17.7741 31.1 17.8745C31.4 17.9749 31.8 18.0753 32.1 17.9749C32.4 17.8745 32.7 17.7741 33 17.4728C33.2 17.272 33.4 16.8703 33.5 16.569C33.6 16.2678 33.5 15.8661 33.4 15.5649C33.3 15.2636 33 14.9623 32.8 14.7615C32.5 14.5607 32.2 14.4603 31.8 14.4603C31.3 14.4603 30.9 14.6611 30.6 14.9623C30.2 15.364 30 15.7657 30 16.2678ZM18.2 35.749C16.8 35.6485 16 35.4477 15.5 35.2469C14.8 34.9456 14.3 34.6444 13.8 34.1423C13.3 33.6402 13 33.1381 12.7 32.4351C12.5 31.9331 12.3 31.1297 12.2 29.7238C12.1 28.2176 12.1 27.7155 12.1 23.8996C12.1 20.0837 12.1 19.5816 12.2 18.0753C12.3 16.6695 12.5 15.8661 12.7 15.364C13 14.6611 13.3 14.159 13.8 13.6569C14.3 13.1548 14.8 12.8536 15.5 12.5523C16 12.3515 16.8 12.1506 18.2 12.0502C19.7 11.9498 20.2 11.9498 24 11.9498C27.8 11.9498 28.3 11.9498 29.8 12.0502C31.2 12.1506 32 12.3515 32.5 12.5523C33.2 12.8536 33.7 13.1548 34.2 13.6569C34.7 14.159 35 14.6611 35.3 15.364C35.5 15.8661 35.7 16.6695 35.8 18.0753C35.9 19.5816 35.9 20.0837 35.9 23.8996C35.9 27.7155 35.9 28.2176 35.8 29.7238C35.7 31.1297 35.5 31.9331 35.3 32.4351C35 33.1381 34.7 33.6402 34.2 34.1423C33.7 34.6444 33.2 34.9456 32.5 35.2469C32 35.4477 31.2 35.6485 29.8 35.749C28.3 35.8494 27.8 35.8494 24 35.8494C20.1 35.8494 19.7 35.8494 18.2 35.749ZM18.1 9.64017C16.6 9.74059 15.5 9.94142 14.6 10.3431C13.7 10.7448 12.8 11.2469 12 12.0502C11.2 12.8536 10.7 13.6569 10.3 14.6611C9.9 15.5649 9.7 16.6695 9.6 18.1757C9.5 19.682 9.5 20.1841 9.5 24.1004C9.5 28.0167 9.5 28.5188 9.6 30.0251C9.7 31.5314 9.9 32.636 10.3 33.5397C10.7 34.4435 11.2 35.3473 12 36.1506C12.8 36.954 13.6 37.4561 14.6 37.8577C15.5 38.2594 16.6 38.4603 18.1 38.5607C19.6 38.6611 20.1 38.6611 24 38.6611C27.9 38.6611 28.4 38.6611 29.9 38.5607C31.4 38.4603 32.5 38.2594 33.4 37.8577C34.3 37.4561 35.2 36.954 36 36.1506C36.8 35.3473 37.3 34.5439 37.7 33.5397C38.1 32.636 38.3 31.5314 38.4 30.0251C38.5 28.5188 38.5 28.0167 38.5 24.1004C38.5 20.1841 38.5 19.682 38.4 18.1757C38.3 16.6695 38.1 15.5649 37.7 14.6611C37.3 13.7573 36.8 12.8536 36 12.0502C35.2 11.2469 34.4 10.7448 33.4 10.3431C32.5 9.94142 31.4 9.74059 29.9 9.64017C28.4 9.53975 27.9 9.53975 24 9.53975C20.1 9.53975 19.6 9.53975 18.1 9.64017Z"/></svg>';
|
|
4
4
|
const IconChannelInstagramSquare = createIconClass(templateHTML);
|
|
5
5
|
defineCustomElement("sinch-icon-channel-instagram-square", IconChannelInstagramSquare);
|
|
6
6
|
export {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineCustomElement } from "../../utils/element.js";
|
|
2
2
|
import { createIconClass } from "../create-icon-class.js";
|
|
3
|
-
const templateHTML = '<svg viewBox="0 0 48 48" aria-hidden="true" focusable="false"><path fill="
|
|
3
|
+
const templateHTML = '<style>:host{--sinch-comp-icon-channel-shape-radius:var(--sinch-sys-shape-radius-full, 9999px);background:var(--sinch-comp-icon-channel-color-line-bg,linear-gradient(180deg,#06c755 0,#06c755 100%))}#shape-a{fill:var(--comp-icon-channel-color-line-layera,#FFF)}</style><svg viewBox="0 0 48 48" aria-hidden="true" focusable="false"><path id="shape-a" fill-rule="evenodd" clip-rule="evenodd" d="M24 11.5439C31.8 11.5439 38.2001 16.6653 38.2001 23.0921C38.2001 25.6025 37.2001 27.9121 35.2001 30.2218C32.2001 33.7364 25.5 37.954 24 38.5565C22.5 39.159 22.7 38.1548 22.8 37.7532C22.8 37.5523 23 36.5481 23 36.5481C23.1 36.1465 23.1 35.6444 23 35.2427C22.8 34.841 22.2001 34.6402 21.7001 34.5398C14.9 33.636 9.80005 28.8159 9.80005 23.0921C9.80005 16.7657 16.2 11.5439 24 11.5439ZM29.5 26.8075H33.5C33.6 26.8075 33.8 26.6067 33.8 26.5063V25.5021C33.8 25.3012 33.6 25.2008 33.5 25.2008H30.8V24.1966H33.5C33.7 24.1966 33.8 23.9958 33.8 23.8954V22.8912C33.8 22.6904 33.6 22.5899 33.5 22.5899H30.8V21.5858H33.5C33.7 21.5858 33.8 21.3849 33.8 21.2845V20.2803C33.8 20.0795 33.6 19.9791 33.5 19.9791H29.5C29.3 19.9791 29.2 20.1799 29.2 20.2803V26.5063C29.2 26.7071 29.4 26.8075 29.5 26.8075ZM19 26.5063C19 26.7071 18.8 26.8075 18.7 26.8075H14.7C14.5 26.8075 14.4 26.6067 14.4 26.5063V20.2803C14.4 20.0795 14.6 19.9791 14.7 19.9791H15.7C15.9 19.9791 16 20.1799 16 20.2803V25.2008H18.7C18.9 25.2008 19 25.4017 19 25.5021V26.5063ZM20.1 19.9791H21.1C21.3 19.9791 21.4 20.0795 21.4 20.2803V26.5063C21.4 26.7071 21.2 26.8075 21.1 26.8075H20.1C19.9 26.8075 19.8 26.6067 19.8 26.5063V20.2803C19.8 20.0795 20 19.9791 20.1 19.9791ZM27 19.9791H28C28.1 19.9791 28.3 20.0795 28.5 20.2803V26.5063C28.5 26.7071 28.3 26.8075 28.2 26.8075H27.1C27 26.8075 27 26.7071 27 26.7071L24.2 22.8912V26.6067C24.2 26.8075 24 26.9079 23.9 26.9079H22.9C22.7 26.9079 22.6 26.7071 22.6 26.6067V20.3807C22.6 20.1799 22.8 20.0795 22.9 20.0795H23.9L26.7 23.9958V20.2803C26.7 20.0795 26.9 19.9791 27 19.9791Z"/></svg>';
|
|
4
4
|
const IconChannelLine = createIconClass(templateHTML);
|
|
5
5
|
defineCustomElement("sinch-icon-channel-line", IconChannelLine);
|
|
6
6
|
export {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineCustomElement } from "../../utils/element.js";
|
|
2
2
|
import { createIconClass } from "../create-icon-class.js";
|
|
3
|
-
const templateHTML = '<svg viewBox="0 0 48 48" aria-hidden="true" focusable="false"><path d="
|
|
3
|
+
const templateHTML = '<style>:host{background:var(--sinch-comp-icon-channel-color-line-bg,linear-gradient(180deg,#06c755 0,#06c755 100%))}#shape-a{fill:var(--comp-icon-channel-color-line-layera,#FFF)}</style><svg viewBox="0 0 48 48" aria-hidden="true" focusable="false"><path id="shape-a" fill-rule="evenodd" clip-rule="evenodd" d="M24 11.5439C31.8 11.5439 38.2001 16.6653 38.2001 23.0921C38.2001 25.6025 37.2001 27.9121 35.2001 30.2218C32.2001 33.7364 25.5 37.954 24 38.5565C22.5 39.159 22.7 38.1548 22.8 37.7532C22.8 37.5523 23 36.5481 23 36.5481C23.1 36.1465 23.1 35.6444 23 35.2427C22.8 34.841 22.2001 34.6402 21.7001 34.5398C14.9 33.636 9.80005 28.8159 9.80005 23.0921C9.80005 16.7657 16.2 11.5439 24 11.5439ZM29.5 26.8075H33.5C33.6 26.8075 33.8 26.6067 33.8 26.5063V25.5021C33.8 25.3012 33.6 25.2008 33.5 25.2008H30.8V24.1966H33.5C33.7 24.1966 33.8 23.9958 33.8 23.8954V22.8912C33.8 22.6904 33.6 22.5899 33.5 22.5899H30.8V21.5858H33.5C33.7 21.5858 33.8 21.3849 33.8 21.2845V20.2803C33.8 20.0795 33.6 19.9791 33.5 19.9791H29.5C29.3 19.9791 29.2 20.1799 29.2 20.2803V26.5063C29.2 26.7071 29.4 26.8075 29.5 26.8075ZM19 26.5063C19 26.7071 18.8 26.8075 18.7 26.8075H14.7C14.5 26.8075 14.4 26.6067 14.4 26.5063V20.2803C14.4 20.0795 14.6 19.9791 14.7 19.9791H15.7C15.9 19.9791 16 20.1799 16 20.2803V25.2008H18.7C18.9 25.2008 19 25.4017 19 25.5021V26.5063ZM20.1 19.9791H21.1C21.3 19.9791 21.4 20.0795 21.4 20.2803V26.5063C21.4 26.7071 21.2 26.8075 21.1 26.8075H20.1C19.9 26.8075 19.8 26.6067 19.8 26.5063V20.2803C19.8 20.0795 20 19.9791 20.1 19.9791ZM27 19.9791H28C28.1 19.9791 28.3 20.0795 28.5 20.2803V26.5063C28.5 26.7071 28.3 26.8075 28.2 26.8075H27.1C27 26.8075 27 26.7071 27 26.7071L24.2 22.8912V26.6067C24.2 26.8075 24 26.9079 23.9 26.9079H22.9C22.7 26.9079 22.6 26.7071 22.6 26.6067V20.3807C22.6 20.1799 22.8 20.0795 22.9 20.0795H23.9L26.7 23.9958V20.2803C26.7 20.0795 26.9 19.9791 27 19.9791Z"/></svg>';
|
|
4
4
|
const IconChannelLineSquare = createIconClass(templateHTML);
|
|
5
5
|
defineCustomElement("sinch-icon-channel-line-square", IconChannelLineSquare);
|
|
6
6
|
export {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineCustomElement } from "../../utils/element.js";
|
|
2
2
|
import { createIconClass } from "../create-icon-class.js";
|
|
3
|
-
const templateHTML = '<svg viewBox="0 0 48 48" aria-hidden="true" focusable="false"><
|
|
3
|
+
const templateHTML = '<style>:host{--sinch-comp-icon-channel-shape-radius:var(--sinch-sys-shape-radius-full, 9999px);background:var(--sinch-comp-icon-channel-color-mms-bg,linear-gradient(180deg,#fff 0,#fff 100%))}#shape-a{fill:var(--sinch-comp-icon-channel-color-mms-layera,#242424)}#shape-b{fill:var(--sinch-comp-icon-channel-color-mms-layerb,#242424)}</style><svg viewBox="0 0 48 48" aria-hidden="true" focusable="false"><path id="shape-b" d="M19.5388 28.9482L19.438 29.0266V29.8928C19.438 31.4708 20.716 32.75 22.2939 32.75H29.1528L33.1719 35.8222C33.7359 36.2534 34.5496 35.8512 34.5496 35.1413V32.75H34.8288C36.4068 32.75 37.6863 31.4708 37.6863 29.8928V20.939C37.6863 19.361 36.4071 18.0818 34.8291 18.0828C33.5092 18.0837 32.1782 18.085 30.8432 18.0863V23.8101C30.8432 26.6469 28.5446 28.9482 25.7059 28.9482H19.5388Z"/><path id="shape-a" fill-rule="evenodd" clip-rule="evenodd" d="M28.562 14.8682C28.562 13.2891 27.2811 12.0095 25.702 12.0096C23.1021 12.0097 20.4596 12.007 17.8279 12.0042C16.268 12.0026 14.712 12.001 13.1709 12C11.5929 11.999 10.3137 13.2782 10.3137 14.8562V23.81C10.3137 25.388 11.5932 26.6672 13.1712 26.6672H13.4505V29.0404C13.4505 29.7536 14.2707 30.1548 14.8337 29.717L18.7562 26.6672H25.7058C27.2838 26.6672 28.562 25.388 28.562 23.81V14.8682ZM25.149 16.5186C25.149 17.3649 24.4629 18.051 23.6166 18.051C22.7703 18.051 22.0843 17.3649 22.0843 16.5186C22.0843 15.6723 22.7703 14.9862 23.6166 14.9862C24.4629 14.9862 25.149 15.6723 25.149 16.5186ZM16.9229 17.7103C17.204 17.7116 17.4659 17.853 17.6211 18.0874L19.0435 20.2348L20.3854 19.045C20.7254 18.7434 21.2435 18.7662 21.5557 19.0964L24.2668 21.963C24.5863 22.3008 24.5714 22.8337 24.2336 23.1533C23.8957 23.4728 23.3628 23.4579 23.0433 23.1201L20.8925 20.8459L19.4355 22.138C19.253 22.2998 19.0094 22.3745 18.7676 22.3428C18.5258 22.3112 18.3096 22.1762 18.1749 21.9729L16.9125 20.0669L14.9236 23.0127C14.6633 23.3981 14.14 23.4996 13.7546 23.2394C13.3692 22.9791 13.2677 22.4558 13.5279 22.0704L16.2213 18.0812C16.3786 17.8482 16.6418 17.7091 16.9229 17.7103Z"/></svg>';
|
|
4
4
|
const IconChannelMmsRound = createIconClass(templateHTML);
|
|
5
5
|
defineCustomElement("sinch-icon-channel-mms-round", IconChannelMmsRound);
|
|
6
6
|
export {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineCustomElement } from "../../utils/element.js";
|
|
2
2
|
import { createIconClass } from "../create-icon-class.js";
|
|
3
|
-
const templateHTML = '<svg viewBox="0 0 48 48" aria-hidden="true" focusable="false"><path
|
|
3
|
+
const templateHTML = '<style>:host{background:var(--sinch-comp-icon-channel-color-mms-bg,linear-gradient(180deg,#fff 0,#fff 100%))}#shape-a{fill:var(--sinch-comp-icon-channel-color-mms-layera,#242424)}#shape-b{fill:var(--sinch-comp-icon-channel-color-mms-layerb,#242424)}</style><svg viewBox="0 0 48 48" aria-hidden="true" focusable="false"><path id="shape-b" d="M19.5388 28.9482L19.438 29.0266V29.8928C19.438 31.4708 20.716 32.75 22.2939 32.75H29.1528L33.1719 35.8222C33.7359 36.2534 34.5496 35.8512 34.5496 35.1413V32.75H34.8288C36.4068 32.75 37.6863 31.4708 37.6863 29.8928V20.939C37.6863 19.361 36.4071 18.0818 34.8291 18.0828C33.5092 18.0837 32.1782 18.085 30.8432 18.0863V23.8101C30.8432 26.6469 28.5446 28.9482 25.7059 28.9482H19.5388Z"/><path id="shape-a" fill-rule="evenodd" clip-rule="evenodd" d="M28.562 14.8682C28.562 13.2891 27.2811 12.0095 25.702 12.0096C23.1021 12.0097 20.4596 12.007 17.8279 12.0042C16.268 12.0026 14.712 12.001 13.1709 12C11.5929 11.999 10.3137 13.2782 10.3137 14.8562V23.81C10.3137 25.388 11.5932 26.6672 13.1712 26.6672H13.4505V29.0404C13.4505 29.7536 14.2707 30.1548 14.8337 29.717L18.7562 26.6672H25.7058C27.2838 26.6672 28.562 25.388 28.562 23.81V14.8682ZM25.149 16.5186C25.149 17.3649 24.4629 18.051 23.6166 18.051C22.7703 18.051 22.0843 17.3649 22.0843 16.5186C22.0843 15.6723 22.7703 14.9862 23.6166 14.9862C24.4629 14.9862 25.149 15.6723 25.149 16.5186ZM16.9229 17.7103C17.204 17.7116 17.4659 17.853 17.6211 18.0874L19.0435 20.2348L20.3854 19.045C20.7254 18.7434 21.2435 18.7662 21.5557 19.0964L24.2668 21.963C24.5863 22.3008 24.5714 22.8337 24.2336 23.1533C23.8957 23.4728 23.3628 23.4579 23.0433 23.1201L20.8925 20.8459L19.4355 22.138C19.253 22.2998 19.0094 22.3745 18.7676 22.3428C18.5258 22.3112 18.3096 22.1762 18.1749 21.9729L16.9125 20.0669L14.9236 23.0127C14.6633 23.3981 14.14 23.4996 13.7546 23.2394C13.3692 22.9791 13.2677 22.4558 13.5279 22.0704L16.2213 18.0812C16.3786 17.8482 16.6418 17.7091 16.9229 17.7103Z"/></svg>';
|
|
4
4
|
const IconChannelMmsSquare = createIconClass(templateHTML);
|
|
5
5
|
defineCustomElement("sinch-icon-channel-mms-square", IconChannelMmsSquare);
|
|
6
6
|
export {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineCustomElement } from "../../utils/element.js";
|
|
2
2
|
import { createIconClass } from "../create-icon-class.js";
|
|
3
|
-
const templateHTML = '<svg viewBox="0 0 48 48" aria-hidden="true" focusable="false"><path
|
|
3
|
+
const templateHTML = '<style>:host{--sinch-comp-icon-channel-shape-radius:var(--sinch-sys-shape-radius-full, 9999px);background:var(--sinch-comp-icon-channel-color-notify-bg,linear-gradient(180deg,#a7d7f7 0,#a7d7f7 100%))}#shape-a{fill:var(--comp-icon-channel-color-notify-layera,#E44436)}#shape-b{fill:var(--comp-icon-channel-color-notify-layera,#FFFFFF)}#shape-c{fill:var(--comp-icon-channel-color-notify-layera,#0076BA)}</style><svg viewBox="0 0 48 48" aria-hidden="true" focusable="false"><path id="shape-c" fill-rule="evenodd" clip-rule="evenodd" d="M14.8187 36.8019C10.6964 33.9064 8 29.1156 8 23.7C8 14.8694 15.1693 7.7 24 7.7C32.8306 7.7 40 14.8693 40 23.7C40 32.5306 32.8307 39.7 24 39.7C23.4881 39.7 22.9817 39.6759 22.482 39.6288C20.987 41.4536 18.7162 42.619 16.1754 42.619C14.4765 42.619 12.8983 42.098 11.592 41.2071C13.1209 40.1645 14.2773 38.6153 14.8187 36.8019Z"/><path id="shape-b" d="M32.5333 19.5915C32.2842 19.6392 32.027 19.6642 31.764 19.6642C29.5204 19.6642 27.7015 17.8454 27.7015 15.6018C27.7015 15.4402 27.711 15.2808 27.7293 15.1241H25.7066V19.1346C25.7066 19.4314 25.5025 19.6892 25.2136 19.7574C24.9248 19.8256 24.6269 19.6863 24.4942 19.4208L22.3459 15.1241H19.7333C17.3785 15.1241 15.4666 17.036 15.4666 19.3908V27.9241C15.4666 30.279 17.3785 32.1908 19.7333 32.1908H22.2933V28.1804C22.2933 27.8836 22.4973 27.6257 22.7862 27.5575C23.0751 27.4893 23.373 27.6287 23.5057 27.8942L25.654 32.1908H28.2666C30.6215 32.1908 32.5333 30.279 32.5333 27.9241V19.5915Z"/><path id="shape-a" d="M31.764 18.3751C33.2957 18.3751 34.5373 17.1334 34.5373 15.6018C34.5373 14.0701 33.2957 12.8284 31.764 12.8284C30.2324 12.8284 28.9907 14.0701 28.9907 15.6018C28.9907 17.1334 30.2324 18.3751 31.764 18.3751Z"/></svg>';
|
|
4
4
|
const IconChannelNotify = createIconClass(templateHTML);
|
|
5
5
|
defineCustomElement("sinch-icon-channel-notify", IconChannelNotify);
|
|
6
6
|
export {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineCustomElement } from "../../utils/element.js";
|
|
2
2
|
import { createIconClass } from "../create-icon-class.js";
|
|
3
|
-
const templateHTML = '<svg viewBox="0 0 48 48" aria-hidden="true" focusable="false"><path fill="
|
|
3
|
+
const templateHTML = '<style>:host{background:var(--sinch-comp-icon-channel-color-notify-bg,linear-gradient(180deg,#a7d7f7 0,#a7d7f7 100%))}#shape-a{fill:var(--comp-icon-channel-color-notify-layera,#E44436)}#shape-b{fill:var(--comp-icon-channel-color-notify-layera,#FFFFFF)}#shape-c{fill:var(--comp-icon-channel-color-notify-layera,#0076BA)}</style><svg viewBox="0 0 48 48" aria-hidden="true" focusable="false"><path id="shape-c" fill-rule="evenodd" clip-rule="evenodd" d="M14.8187 36.8019C10.6964 33.9064 8 29.1156 8 23.7C8 14.8694 15.1693 7.7 24 7.7C32.8306 7.7 40 14.8693 40 23.7C40 32.5306 32.8307 39.7 24 39.7C23.4881 39.7 22.9817 39.6759 22.482 39.6288C20.987 41.4536 18.7162 42.619 16.1754 42.619C14.4765 42.619 12.8983 42.098 11.592 41.2071C13.1209 40.1645 14.2773 38.6153 14.8187 36.8019Z"/><path id="shape-b" d="M32.5333 19.5915C32.2842 19.6392 32.027 19.6642 31.764 19.6642C29.5204 19.6642 27.7015 17.8454 27.7015 15.6018C27.7015 15.4402 27.711 15.2808 27.7293 15.1241H25.7066V19.1346C25.7066 19.4314 25.5025 19.6892 25.2136 19.7574C24.9248 19.8256 24.6269 19.6863 24.4942 19.4208L22.3459 15.1241H19.7333C17.3785 15.1241 15.4666 17.036 15.4666 19.3908V27.9241C15.4666 30.279 17.3785 32.1908 19.7333 32.1908H22.2933V28.1804C22.2933 27.8836 22.4973 27.6257 22.7862 27.5575C23.0751 27.4893 23.373 27.6287 23.5057 27.8942L25.654 32.1908H28.2666C30.6215 32.1908 32.5333 30.279 32.5333 27.9241V19.5915Z"/><path id="shape-a" d="M31.764 18.3751C33.2957 18.3751 34.5373 17.1334 34.5373 15.6018C34.5373 14.0701 33.2957 12.8284 31.764 12.8284C30.2324 12.8284 28.9907 14.0701 28.9907 15.6018C28.9907 17.1334 30.2324 18.3751 31.764 18.3751Z"/></svg>';
|
|
4
4
|
const IconChannelNotifySquare = createIconClass(templateHTML);
|
|
5
5
|
defineCustomElement("sinch-icon-channel-notify-square", IconChannelNotifySquare);
|
|
6
6
|
export {
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import type { TSinchIconChannelElement, TSinchIconChannelReact, TSinchIconChannelProps } from '../../types';
|
|
2
|
+
export * from '../../types';
|
|
3
|
+
declare global {
|
|
4
|
+
interface NectaryComponentMap {
|
|
5
|
+
'sinch-icon-channel-phone-round': {
|
|
6
|
+
props: TSinchIconChannelProps;
|
|
7
|
+
};
|
|
8
|
+
}
|
|
9
|
+
interface HTMLElementTagNameMap {
|
|
10
|
+
'sinch-icon-channel-phone-round': TSinchIconChannelElement;
|
|
11
|
+
}
|
|
12
|
+
namespace JSX {
|
|
13
|
+
interface IntrinsicElements {
|
|
14
|
+
'sinch-icon-channel-phone-round': TSinchIconChannelReact;
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
declare module 'react' {
|
|
19
|
+
namespace JSX {
|
|
20
|
+
interface IntrinsicElements extends globalThis.JSX.IntrinsicElements {
|
|
21
|
+
'sinch-icon-channel-phone-round': TSinchIconChannelReact;
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import type { TSinchIconChannelElement, TSinchIconChannelReact, TSinchIconChannelProps } from '../types';
|
|
2
|
+
export * from '../types';
|
|
3
|
+
export declare const IconChannelPhoneRound: CustomElementConstructor;
|
|
4
|
+
declare global {
|
|
5
|
+
interface NectaryComponentMap {
|
|
6
|
+
'sinch-icon-channel-phone-round': {
|
|
7
|
+
props: TSinchIconChannelProps;
|
|
8
|
+
};
|
|
9
|
+
}
|
|
10
|
+
interface HTMLElementTagNameMap {
|
|
11
|
+
'sinch-icon-channel-phone-round': TSinchIconChannelElement;
|
|
12
|
+
}
|
|
13
|
+
namespace JSX {
|
|
14
|
+
interface IntrinsicElements {
|
|
15
|
+
'sinch-icon-channel-phone-round': TSinchIconChannelReact;
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
declare module 'react' {
|
|
20
|
+
namespace JSX {
|
|
21
|
+
interface IntrinsicElements extends globalThis.JSX.IntrinsicElements {
|
|
22
|
+
'sinch-icon-channel-phone-round': TSinchIconChannelReact;
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { defineCustomElement } from "../../utils/element.js";
|
|
2
|
+
import { createIconClass } from "../create-icon-class.js";
|
|
3
|
+
const templateHTML = '<style>:host{--sinch-comp-icon-channel-shape-radius:var(--sinch-sys-shape-radius-full, 9999px);background:var(--sinch-comp-icon-channel-color-phone-bg,linear-gradient(180deg,#fff 0,#fff 100%))}#shape-a{fill:var(--sinch-comp-icon-channel-color-phone-layera,#242424)}</style><svg viewBox="0 0 48 48" aria-hidden="true" focusable="false"><path id="shape-a" d="M17.6891 13.5651L15.1769 14.2502C13.7801 14.6312 13.3203 15.3948 13.3728 16.7515C13.7509 26.5127 21.6368 34.3496 31.4179 34.6494C32.7315 34.6897 33.4141 34.1331 33.7419 32.9312L34.4464 30.3478C34.8296 28.9428 34.3967 28.1128 33.1233 27.5822L30.1764 26.3543C28.9265 25.8335 28.1417 26.0982 27.3349 27.0827L26.697 27.8612C26.3091 28.3345 25.6452 28.4888 25.113 28.1866C22.9112 26.9365 21.0814 25.1068 19.831 22.9051C19.5285 22.3725 19.6833 21.7079 20.1576 21.3202L21.0041 20.6282C22.0226 19.7956 22.1312 18.9692 21.6585 17.8346L20.3945 14.8012C19.8679 13.5374 19.1679 13.1618 17.6891 13.5651Z"/></svg>';
|
|
4
|
+
const IconChannelPhoneRound = createIconClass(templateHTML);
|
|
5
|
+
defineCustomElement("sinch-icon-channel-phone-round", IconChannelPhoneRound);
|
|
6
|
+
export {
|
|
7
|
+
IconChannelPhoneRound
|
|
8
|
+
};
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import type { TSinchIconChannelElement, TSinchIconChannelReact, TSinchIconChannelProps } from '../../types';
|
|
2
|
+
export * from '../../types';
|
|
3
|
+
declare global {
|
|
4
|
+
interface NectaryComponentMap {
|
|
5
|
+
'sinch-icon-channel-phone-square': {
|
|
6
|
+
props: TSinchIconChannelProps;
|
|
7
|
+
};
|
|
8
|
+
}
|
|
9
|
+
interface HTMLElementTagNameMap {
|
|
10
|
+
'sinch-icon-channel-phone-square': TSinchIconChannelElement;
|
|
11
|
+
}
|
|
12
|
+
namespace JSX {
|
|
13
|
+
interface IntrinsicElements {
|
|
14
|
+
'sinch-icon-channel-phone-square': TSinchIconChannelReact;
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
declare module 'react' {
|
|
19
|
+
namespace JSX {
|
|
20
|
+
interface IntrinsicElements extends globalThis.JSX.IntrinsicElements {
|
|
21
|
+
'sinch-icon-channel-phone-square': TSinchIconChannelReact;
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import type { TSinchIconChannelElement, TSinchIconChannelReact, TSinchIconChannelProps } from '../types';
|
|
2
|
+
export * from '../types';
|
|
3
|
+
export declare const IconChannelPhoneSquare: CustomElementConstructor;
|
|
4
|
+
declare global {
|
|
5
|
+
interface NectaryComponentMap {
|
|
6
|
+
'sinch-icon-channel-phone-square': {
|
|
7
|
+
props: TSinchIconChannelProps;
|
|
8
|
+
};
|
|
9
|
+
}
|
|
10
|
+
interface HTMLElementTagNameMap {
|
|
11
|
+
'sinch-icon-channel-phone-square': TSinchIconChannelElement;
|
|
12
|
+
}
|
|
13
|
+
namespace JSX {
|
|
14
|
+
interface IntrinsicElements {
|
|
15
|
+
'sinch-icon-channel-phone-square': TSinchIconChannelReact;
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
declare module 'react' {
|
|
20
|
+
namespace JSX {
|
|
21
|
+
interface IntrinsicElements extends globalThis.JSX.IntrinsicElements {
|
|
22
|
+
'sinch-icon-channel-phone-square': TSinchIconChannelReact;
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { defineCustomElement } from "../../utils/element.js";
|
|
2
|
+
import { createIconClass } from "../create-icon-class.js";
|
|
3
|
+
const templateHTML = '<style>:host{background:var(--sinch-comp-icon-channel-color-mms-bg,linear-gradient(180deg,#fff 0,#fff 100%))}#shape-a{fill:var(--sinch-comp-icon-channel-color-mms-layera,#242424)}</style><svg viewBox="0 0 48 48" aria-hidden="true" focusable="false"><path id="shape-a" d="M17.6891 13.5651L15.1769 14.2502C13.7801 14.6312 13.3203 15.3948 13.3728 16.7515C13.7509 26.5127 21.6368 34.3496 31.4179 34.6494C32.7315 34.6897 33.4141 34.1331 33.7419 32.9312L34.4464 30.3478C34.8296 28.9428 34.3967 28.1128 33.1233 27.5822L30.1764 26.3543C28.9265 25.8335 28.1417 26.0982 27.3349 27.0827L26.697 27.8612C26.3091 28.3345 25.6452 28.4888 25.113 28.1866C22.9112 26.9365 21.0814 25.1068 19.831 22.9051C19.5285 22.3725 19.6833 21.7079 20.1576 21.3202L21.0041 20.6282C22.0226 19.7956 22.1312 18.9692 21.6585 17.8346L20.3945 14.8012C19.8679 13.5374 19.1679 13.1618 17.6891 13.5651Z"/></svg>';
|
|
4
|
+
const IconChannelPhoneSquare = createIconClass(templateHTML);
|
|
5
|
+
defineCustomElement("sinch-icon-channel-phone-square", IconChannelPhoneSquare);
|
|
6
|
+
export {
|
|
7
|
+
IconChannelPhoneSquare
|
|
8
|
+
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineCustomElement } from "../../utils/element.js";
|
|
2
2
|
import { createIconClass } from "../create-icon-class.js";
|
|
3
|
-
const templateHTML = '<svg viewBox="0 0 48 48" aria-hidden="true" focusable="false"><
|
|
3
|
+
const templateHTML = '<style>:host{--sinch-comp-icon-channel-shape-radius:var(--sinch-sys-shape-radius-full, 9999px);background:var(--sinch-comp-icon-channel-color-push-bg,linear-gradient(180deg,#fff 0,#fff 100%))}#shape-a{fill:var(--sinch-comp-icon-channel-color-push-layera,#242424)}#shape-b{fill:var(--sinch-comp-icon-channel-color-push-layerb,#242424)}</style><svg viewBox="0 0 48 48" aria-hidden="true" focusable="false"><path id="shape-b" d="M29.94 30.1C29.3333 29.74 28.84 29.22 28.5 28.5933C27.5133 28.5067 26.6533 27.9267 26.2333 27.0333C26.0067 26.56 25.92 26.04 25.9867 25.52C26.0533 25 26.26 24.5133 26.5867 24.1267L26.7 23.9933C26.7933 23.88 26.8867 23.7867 26.9667 23.7067C26.9667 23.5933 26.98 23.4333 26.98 23.2067C26.98 21.28 27.7733 19.7733 29.2333 18.8933C29.8333 17.9467 30.8533 17.3533 31.98 17.3533V14.7C31.96 13.2133 30.76 12.0133 29.2867 12.0133C25.7733 12.0133 22.18 12 18.6667 12C17.1933 12 16 13.1933 16 14.6667V33.3333C16 34.8067 17.1933 36 18.6667 36H29.2933C30.7667 36 31.96 34.8067 31.96 33.3333V30.66C31.2467 30.66 30.5533 30.4667 29.94 30.1ZM20.9 14.6333C20.9 14.1733 21.28 13.8 21.74 13.8067L26.1933 13.8333C26.6533 13.8333 27.0267 14.2133 27.02 14.6733C27.02 15.1333 26.64 15.5067 26.18 15.5L21.7267 15.4733C21.2667 15.4733 20.8933 15.0933 20.9 14.6333ZM23.9533 34.2267C23.22 34.2267 22.62 33.6267 22.62 32.8933C22.62 32.16 23.22 31.56 23.9533 31.56C24.6867 31.56 25.2867 32.16 25.2867 32.8933C25.2867 33.6267 24.6867 34.2267 23.9533 34.2267Z"/><path id="shape-a" d="M35.7933 25.3867L35.74 25.32L35.6933 25.26C35.5933 25.1333 35.5 25.0533 35.4133 24.98C35.1266 24.72 34.96 24.5733 34.96 23.2C34.96 22.3867 34.7666 21.72 34.38 21.22C34.1 20.8533 33.7133 20.5733 33.2133 20.3667C33.2133 20.3667 33.2 20.36 33.1933 20.3533C33.0133 19.7467 32.52 19.34 31.96 19.34C31.4 19.34 30.9066 19.7467 30.7266 20.3533C30.7266 20.3533 30.7133 20.36 30.7066 20.3667C29.5333 20.8467 28.96 21.78 28.96 23.2C28.96 24.58 28.7933 24.7267 28.5066 24.9867C28.4266 25.06 28.3333 25.14 28.2266 25.2667L28.2133 25.28C28.1866 25.3133 28.1533 25.3533 28.1266 25.3867C28.04 25.4933 27.98 25.6267 27.9666 25.7667C27.9466 25.9067 27.9666 26.0467 28.0333 26.1733C28.16 26.4467 28.4333 26.6133 28.7466 26.6133H35.1733C35.4866 26.6133 35.7533 26.4467 35.8866 26.1733C35.9466 26.0467 35.9733 25.9067 35.9533 25.7667C35.9333 25.6267 35.88 25.4933 35.7933 25.3867Z"/><path id="shape-a" d="M33.6266 27.5067C33.6266 27.5067 33.5933 27.4933 33.58 27.4933H30.3333C30.3333 27.4933 30.3 27.4933 30.2866 27.5067C30.2733 27.5133 30.26 27.5267 30.2533 27.54C30.2466 27.5533 30.24 27.5733 30.24 27.5867C30.24 27.6067 30.24 27.62 30.2533 27.6333C30.42 27.94 30.6666 28.2 30.9666 28.38C31.2666 28.56 31.6133 28.6533 31.96 28.6533C32.3133 28.6533 32.6533 28.56 32.9533 28.38C33.2533 28.2 33.5 27.94 33.6666 27.6333C33.6733 27.62 33.68 27.6 33.68 27.5867C33.68 27.5667 33.68 27.5533 33.6666 27.54C33.66 27.5267 33.6466 27.5133 33.6333 27.5067H33.6266Z"/></svg>';
|
|
4
4
|
const IconChannelPushRound = createIconClass(templateHTML);
|
|
5
5
|
defineCustomElement("sinch-icon-channel-push-round", IconChannelPushRound);
|
|
6
6
|
export {
|