@nectary/assets 2.2.1 → 2.2.3

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.
@@ -1,4 +1,4 @@
1
1
  import { defineCustomElement } from '../../utils/element';
2
2
  import { createIconClass } from '../create-icon-class';
3
- const templateHTML = '<svg viewBox="0 0 48 48" aria-hidden="true" focusable="false"><linearGradient id="a" x1="24" x2="24" y1="48.13" y2=".13" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#0cbd2a"/><stop offset="1" stop-color="#5bf675"/></linearGradient><circle id="b" cx="24" cy="24" r="24" fill="url(#a)" overflow="visible"/><path fill="#fff" d="M24 10c-8.7 0-15.8 5.9-15.8 13.1 0 4.6 2.9 8.9 7.7 11.3-.6 1.4-1.6 2.7-2.8 3.9 2.3-.4 4.5-1.3 6.4-2.5 1.4.4 3 .5 4.5.5 8.7 0 15.8-5.9 15.8-13.1C39.8 15.8 32.7 10 24 10z"/></svg>';
3
+ const templateHTML = '<svg viewBox="0 0 48 48" aria-hidden="true" focusable="false"><linearGradient id="apple-business-chat-gradient" x1="24" x2="24" y1="48.13" y2=".13" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#0cbd2a"/><stop offset="1" stop-color="#5bf675"/></linearGradient><circle id="b" cx="24" cy="24" r="24" fill="url(#apple-business-chat-gradient)" overflow="visible"/><path fill="#fff" d="M24 10c-8.7 0-15.8 5.9-15.8 13.1 0 4.6 2.9 8.9 7.7 11.3-.6 1.4-1.6 2.7-2.8 3.9 2.3-.4 4.5-1.3 6.4-2.5 1.4.4 3 .5 4.5.5 8.7 0 15.8-5.9 15.8-13.1C39.8 15.8 32.7 10 24 10z"/></svg>';
4
4
  defineCustomElement('sinch-icon-channel-apple-business-chat', createIconClass(templateHTML));
@@ -1,4 +1,4 @@
1
1
  import { defineCustomElement } from '../../utils/element';
2
2
  import { createIconClass } from '../create-icon-class';
3
- const templateHTML = '<svg viewBox="0 0 48 48" aria-hidden="true" focusable="false"><path d="M7.7 0h32.5c4.2 0 7.6 3.414 7.6 7.632v32.636c0 4.217-3.4 7.632-7.6 7.632H7.7c-4.2 0-7.6-3.415-7.6-7.632V7.632C.1 3.414 3.5 0 7.7 0Z" fill="url(#a)"/><path d="M24.4 7.531c-9.7 0-17.5 6.528-17.5 14.662 0 5.12 3.2 9.94 8.5 12.552-.7 1.506-1.7 3.012-3.1 4.318 2.6-.502 5-1.406 7.1-2.812 1.6.402 3.3.602 5 .602 9.7 0 17.5-6.527 17.5-14.66C42 14.058 34.1 7.53 24.4 7.53Z" fill="#fff"/><defs><linearGradient id="a" x1="23.95" y1="48.25" x2="23.95" y2=".35" gradientUnits="userSpaceOnUse"><stop stop-color="#0CBD2A"/><stop offset="1" stop-color="#5BF675"/></linearGradient></defs></svg>';
3
+ const templateHTML = '<svg viewBox="0 0 48 48" aria-hidden="true" focusable="false"><path d="M7.7 0h32.5c4.2 0 7.6 3.414 7.6 7.632v32.636c0 4.217-3.4 7.632-7.6 7.632H7.7c-4.2 0-7.6-3.415-7.6-7.632V7.632C.1 3.414 3.5 0 7.7 0Z" fill="url(#apple-business-chat-square-gradient)"/><path d="M24.4 7.531c-9.7 0-17.5 6.528-17.5 14.662 0 5.12 3.2 9.94 8.5 12.552-.7 1.506-1.7 3.012-3.1 4.318 2.6-.502 5-1.406 7.1-2.812 1.6.402 3.3.602 5 .602 9.7 0 17.5-6.527 17.5-14.66C42 14.058 34.1 7.53 24.4 7.53Z" fill="#fff"/><defs><linearGradient id="apple-business-chat-square-gradient" x1="23.95" y1="48.25" x2="23.95" y2=".35" gradientUnits="userSpaceOnUse"><stop stop-color="#0CBD2A"/><stop offset="1" stop-color="#5BF675"/></linearGradient></defs></svg>';
4
4
  defineCustomElement('sinch-icon-channel-apple-business-chat-square', createIconClass(templateHTML));
@@ -1,4 +1,4 @@
1
1
  import { defineCustomElement } from '../../utils/element';
2
2
  import { createIconClass } from '../create-icon-class';
3
- const templateHTML = '<svg viewBox="0 0 48 48" aria-hidden="true" focusable="false"><clipPath id="c"><path d="M24 48c13.3 0 24-10.7 24-24S37.3 0 24 0 0 10.7 0 24s10.7 24 24 24z" overflow="visible"/></clipPath><linearGradient id="b" x1="47.991" x2="-.058" y1="49.802" y2="1.887" gradientTransform="matrix(1 0 0 -1 0 50)" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#4f3eb7"/><stop offset=".193" stop-color="#9132ae"/><stop offset=".526" stop-color="#cf288b"/><stop offset="1" stop-color="#ffd43c"/></linearGradient><path fill="url(#b)" d="M7.7.2h32.5c4.2 0 7.6 3.4 7.6 7.6v32.5c0 4.2-3.4 7.6-7.6 7.6H7.7c-4.2 0-7.6-3.4-7.6-7.6V7.9C.1 3.6 3.5.2 7.7.2z" clip-path="url(#c)"/><g fill="#fff"><path d="M19.7 24.2c0-2.4 1.9-4.3 4.3-4.3s4.3 1.9 4.3 4.3-1.9 4.3-4.3 4.3-4.3-1.9-4.3-4.3m-2.3 0c0 3.7 3 6.6 6.6 6.6s6.6-3 6.6-6.6-3-6.6-6.6-6.6-6.6 2.9-6.6 6.6m11.9-6.9c0 .9.7 1.6 1.6 1.6s1.6-.7 1.6-1.6-.7-1.6-1.6-1.6c-.9.1-1.5.7-1.6 1.6M18.8 34.7c-1.3-.1-1.9-.3-2.4-.4-.6-.2-1-.5-1.5-1s-.7-.9-1-1.5c-.2-.5-.4-1.1-.4-2.4-.1-1.4-.1-1.8-.1-5.2s0-3.9.1-5.2c.1-1.3.3-1.9.4-2.4.2-.6.5-1 1-1.5s.9-.7 1.5-1c.5-.2 1.1-.4 2.4-.4 1.4-.1 1.8-.1 5.2-.1s3.9 0 5.2.1c1.3.1 1.9.3 2.4.4.6.2 1 .5 1.5 1s.7.9 1 1.5c.2.5.4 1.1.4 2.4.1 1.4.1 1.8.1 5.2s0 3.9-.1 5.2c-.1 1.3-.3 1.9-.4 2.4-.2.6-.5 1-1 1.5s-.9.7-1.5 1c-.5.2-1.1.4-2.4.4-1.4.1-1.8.1-5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-1.5 1c-.5.2-1.1.4-2.4.4-1.4.1-1.8.1-5.2.1s-3.9 0-5.2-.1m-.1-23.3c-1.4.1-2.3.3-3.1.6-.9.3-1.6.8-2.3 1.5s-1.2 1.4-1.5 2.3c-.3.8-.5 1.8-.6 3.1-.1 1.4-.1 1.8-.1 5.3s0 4 .1 5.3c.1 1.4.3 2.3.6 3.1s.8 1.6 1.5 2.3 1.4 1.2 2.3 1.5c.8.3 1.8.5 3.1.6 1.4.1 1.8.1 5.3.1s4 0 5.3-.1c1.4-.1 2.3-.3 3.1-.6s1.6-.8 2.3-1.5 1.2-1.4 1.5-2.3c.3-.8.5-1.8.6-3.1.1-1.4.1-1.8.1-5.3s0-4-.1-5.3c-.1-1.4-.3-2.3-.6-3.1-.3-.8-.8-1.6-1.5-2.3s-1.4-1.2-2.3-1.5c-.8-.3-1.8-.5-3.1-.6-1.4-.1-1.8-.1-5.3-.1s-3.9 0-5.3.1"/></g></svg>';
3
+ const templateHTML = '<svg viewBox="0 0 48 48" aria-hidden="true" focusable="false"><clipPath id="c"><path d="M24 48c13.3 0 24-10.7 24-24S37.3 0 24 0 0 10.7 0 24s10.7 24 24 24z" overflow="visible"/></clipPath><linearGradient id="instagram-gradient" x1="47.991" x2="-.058" y1="49.802" y2="1.887" gradientTransform="matrix(1 0 0 -1 0 50)" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#4f3eb7"/><stop offset=".193" stop-color="#9132ae"/><stop offset=".526" stop-color="#cf288b"/><stop offset="1" stop-color="#ffd43c"/></linearGradient><path fill="url(#instagram-gradient)" d="M7.7.2h32.5c4.2 0 7.6 3.4 7.6 7.6v32.5c0 4.2-3.4 7.6-7.6 7.6H7.7c-4.2 0-7.6-3.4-7.6-7.6V7.9C.1 3.6 3.5.2 7.7.2z" clip-path="url(#c)"/><g fill="#fff"><path d="M19.7 24.2c0-2.4 1.9-4.3 4.3-4.3s4.3 1.9 4.3 4.3-1.9 4.3-4.3 4.3-4.3-1.9-4.3-4.3m-2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
4
  defineCustomElement('sinch-icon-channel-instagram', createIconClass(templateHTML));
@@ -1,4 +1,4 @@
1
1
  import { defineCustomElement } from '../../utils/element';
2
2
  import { createIconClass } from '../create-icon-class';
3
- const templateHTML = '<svg viewBox="0 0 48 48" aria-hidden="true" focusable="false"><path d="M7.7 0h32.5c4.2 0 7.6 3.414 7.6 7.632v32.636c0 4.217-3.4 7.632-7.6 7.632H7.7c-4.2 0-7.6-3.415-7.6-7.632V7.632C.1 3.414 3.5 0 7.7 0Z" fill="url(#a)"/><path d="M19.2 24c0-2.711 2.2-4.82 4.8-4.82 2.7 0 4.8 2.21 4.8 4.82 0 2.61-2.2 4.82-4.8 4.82-2.7 0-4.8-2.109-4.8-4.82Zm-2.6 0c0 4.117 3.3 7.431 7.4 7.431 4.1 0 7.4-3.314 7.4-7.431s-3.3-7.43-7.4-7.43c-4.1 0-7.4 3.313-7.4 7.43ZM30 16.268c0 .301.1.703.3 1.004.2.301.5.502.8.603.3.1.7.2 1 .1.3-.1.6-.2.9-.502.2-.201.4-.603.5-.904.1-.301 0-.703-.1-1.004-.1-.301-.4-.603-.6-.803-.3-.201-.6-.302-1-.302-.5 0-.9.201-1.2.502-.4.402-.6.804-.6 1.306ZM18.2 35.749c-1.4-.1-2.2-.301-2.7-.502-.7-.301-1.2-.603-1.7-1.105s-.8-1.004-1.1-1.707c-.2-.502-.4-1.305-.5-2.711-.1-1.506-.1-2.009-.1-5.824 0-3.816 0-4.318.1-5.825.1-1.405.3-2.209.5-2.71.3-.704.6-1.206 1.1-1.708.5-.502 1-.803 1.7-1.105.5-.2 1.3-.401 2.7-.502 1.5-.1 2-.1 5.8-.1s4.3 0 5.8.1c1.4.1 2.2.301 2.7.502.7.302 1.2.603 1.7 1.105s.8 1.004 1.1 1.707c.2.502.4 1.305.5 2.711.1 1.507.1 2.009.1 5.825 0 3.816 0 4.318-.1 5.824-.1 1.406-.3 2.21-.5 2.711-.3.703-.6 1.205-1.1 1.707-.5.502-1 .804-1.7 1.105-.5.2-1.3.402-2.7.502-1.5.1-2 .1-5.8.1-3.9 0-4.3 0-5.8-.1ZM18.1 9.64c-1.5.1-2.6.301-3.5.703-.9.402-1.8.904-2.6 1.707-.8.804-1.3 1.607-1.7 2.611-.4.904-.6 2.008-.7 3.515-.1 1.506-.1 2.008-.1 5.925 0 3.916 0 4.418.1 5.924.1 1.506.3 2.611.7 3.515.4.904.9 1.807 1.7 2.61.8.804 1.6 1.306 2.6 1.708.9.402 2 .602 3.5.703 1.5.1 2 .1 5.9.1 3.9 0 4.4 0 5.9-.1s2.6-.301 3.5-.703c.9-.402 1.8-.904 2.6-1.707.8-.804 1.3-1.607 1.7-2.611.4-.904.6-2.009.7-3.515.1-1.506.1-2.008.1-5.924 0-3.917 0-4.419-.1-5.925-.1-1.506-.3-2.611-.7-3.515-.4-.904-.9-1.807-1.7-2.61-.8-.804-1.6-1.306-2.6-1.708-.9-.402-2-.602-3.5-.703-1.5-.1-2-.1-5.9-.1-3.9 0-4.4 0-5.9.1Z" fill="#fff"/><defs><linearGradient id="a" x1="47.991" y1="-.024" x2="-.258" y2="47.89" gradientUnits="userSpaceOnUse"><stop stop-color="#4F3EB7"/><stop offset=".193" stop-color="#9132AE"/><stop offset=".526" stop-color="#CF288B"/><stop offset="1" stop-color="#FFD43C"/></linearGradient></defs></svg>';
3
+ const templateHTML = '<svg viewBox="0 0 48 48" aria-hidden="true" focusable="false"><path d="M7.7 0h32.5c4.2 0 7.6 3.414 7.6 7.632v32.636c0 4.217-3.4 7.632-7.6 7.632H7.7c-4.2 0-7.6-3.415-7.6-7.632V7.632C.1 3.414 3.5 0 7.7 0Z" fill="url(#instagram-square-gradient)"/><path d="M19.2 24c0-2.711 2.2-4.82 4.8-4.82 2.7 0 4.8 2.21 4.8 4.82 0 2.61-2.2 4.82-4.8 4.82-2.7 0-4.8-2.109-4.8-4.82Zm-2.6 0c0 4.117 3.3 7.431 7.4 7.431 4.1 0 7.4-3.314 7.4-7.431s-3.3-7.43-7.4-7.43c-4.1 0-7.4 3.313-7.4 7.43ZM30 16.268c0 .301.1.703.3 1.004.2.301.5.502.8.603.3.1.7.2 1 .1.3-.1.6-.2.9-.502.2-.201.4-.603.5-.904.1-.301 0-.703-.1-1.004-.1-.301-.4-.603-.6-.803-.3-.201-.6-.302-1-.302-.5 0-.9.201-1.2.502-.4.402-.6.804-.6 1.306ZM18.2 35.749c-1.4-.1-2.2-.301-2.7-.502-.7-.301-1.2-.603-1.7-1.105s-.8-1.004-1.1-1.707c-.2-.502-.4-1.305-.5-2.711-.1-1.506-.1-2.009-.1-5.824 0-3.816 0-4.318.1-5.825.1-1.405.3-2.209.5-2.71.3-.704.6-1.206 1.1-1.708.5-.502 1-.803 1.7-1.105.5-.2 1.3-.401 2.7-.502 1.5-.1 2-.1 5.8-.1s4.3 0 5.8.1c1.4.1 2.2.301 2.7.502.7.302 1.2.603 1.7 1.105s.8 1.004 1.1 1.707c.2.502.4 1.305.5 2.711.1 1.507.1 2.009.1 5.825 0 3.816 0 4.318-.1 5.824-.1 1.406-.3 2.21-.5 2.711-.3.703-.6 1.205-1.1 1.707-.5.502-1 .804-1.7 1.105-.5.2-1.3.402-2.7.502-1.5.1-2 .1-5.8.1-3.9 0-4.3 0-5.8-.1ZM18.1 9.64c-1.5.1-2.6.301-3.5.703-.9.402-1.8.904-2.6 1.707-.8.804-1.3 1.607-1.7 2.611-.4.904-.6 2.008-.7 3.515-.1 1.506-.1 2.008-.1 5.925 0 3.916 0 4.418.1 5.924.1 1.506.3 2.611.7 3.515.4.904.9 1.807 1.7 2.61.8.804 1.6 1.306 2.6 1.708.9.402 2 .602 3.5.703 1.5.1 2 .1 5.9.1 3.9 0 4.4 0 5.9-.1s2.6-.301 3.5-.703c.9-.402 1.8-.904 2.6-1.707.8-.804 1.3-1.607 1.7-2.611.4-.904.6-2.009.7-3.515.1-1.506.1-2.008.1-5.924 0-3.917 0-4.419-.1-5.925-.1-1.506-.3-2.611-.7-3.515-.4-.904-.9-1.807-1.7-2.61-.8-.804-1.6-1.306-2.6-1.708-.9-.402-2-.602-3.5-.703-1.5-.1-2-.1-5.9-.1-3.9 0-4.4 0-5.9.1Z" fill="#fff"/><defs><linearGradient id="instagram-square-gradient" x1="47.991" y1="-.024" x2="-.258" y2="47.89" gradientUnits="userSpaceOnUse"><stop stop-color="#4F3EB7"/><stop offset=".193" stop-color="#9132AE"/><stop offset=".526" stop-color="#CF288B"/><stop offset="1" stop-color="#FFD43C"/></linearGradient></defs></svg>';
4
4
  defineCustomElement('sinch-icon-channel-instagram-square', createIconClass(templateHTML));
@@ -1,4 +1,4 @@
1
1
  import { defineCustomElement } from '../../utils/element';
2
2
  import { createIconClass } from '../create-icon-class';
3
- const templateHTML = '<svg viewBox="0 0 48 48" aria-hidden="true" focusable="false"><linearGradient id="a" x1="-934.041" x2="-934.041" y1="564.485" y2="564.437" gradientTransform="matrix(1000 0 0 -1000 934065 564485)" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#2aabee"/><stop offset="1" stop-color="#229ed9"/></linearGradient><circle cx="24" cy="24" r="24" fill="url(#a)" fill-rule="evenodd" clip-rule="evenodd"/><path fill="#fff" fill-rule="evenodd" d="M10.9 23.7c7-3 11.7-5.1 14-6 6.7-2.8 8-3.3 9-3.3.2 0 .6 0 .9.3.2.2.3.5.3.6s.1.6 0 .9c-.4 3.8-1.9 13-2.7 17.3-.3 1.8-1 2.4-1.6 2.5-1.4.1-2.5-.9-3.8-1.8l-5.4-3.6c-2.4-1.6-.8-2.4.5-3.8.4-.4 6.5-6 6.6-6.5 0-.1 0-.3-.1-.4-.1-.1-.3-.1-.5 0-.2 0-3.6 2.3-10.1 6.7-1 .7-1.8 1-2.6 1-.9 0-2.5-.5-3.7-.9-1.5-.5-2.7-.7-2.6-1.6 0-.5.6-.9 1.8-1.4z" clip-rule="evenodd"/></svg>';
3
+ const templateHTML = '<svg viewBox="0 0 48 48" aria-hidden="true" focusable="false"><linearGradient id="telegram-gradient" x1="-934.041" x2="-934.041" y1="564.485" y2="564.437" gradientTransform="matrix(1000 0 0 -1000 934065 564485)" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#2aabee"/><stop offset="1" stop-color="#229ed9"/></linearGradient><circle cx="24" cy="24" r="24" fill="url(#telegram-gradient)" fill-rule="evenodd" clip-rule="evenodd"/><path fill="#fff" fill-rule="evenodd" d="M10.9 23.7c7-3 11.7-5.1 14-6 6.7-2.8 8-3.3 9-3.3.2 0 .6 0 .9.3.2.2.3.5.3.6s.1.6 0 .9c-.4 3.8-1.9 13-2.7 17.3-.3 1.8-1 2.4-1.6 2.5-1.4.1-2.5-.9-3.8-1.8l-5.4-3.6c-2.4-1.6-.8-2.4.5-3.8.4-.4 6.5-6 6.6-6.5 0-.1 0-.3-.1-.4-.1-.1-.3-.1-.5 0-.2 0-3.6 2.3-10.1 6.7-1 .7-1.8 1-2.6 1-.9 0-2.5-.5-3.7-.9-1.5-.5-2.7-.7-2.6-1.6 0-.5.6-.9 1.8-1.4z" clip-rule="evenodd"/></svg>';
4
4
  defineCustomElement('sinch-icon-channel-telegram', createIconClass(templateHTML));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nectary/assets",
3
- "version": "2.2.1",
3
+ "version": "2.2.3",
4
4
  "files": [
5
5
  "**/*/*.css",
6
6
  "**/*/*.json",
@@ -31,6 +31,6 @@
31
31
  "typescript": "^5.2.2"
32
32
  },
33
33
  "peerDependencies": {
34
- "@nectary/theme-base": "1.4.0"
34
+ "@nectary/theme-base": "1.4.1"
35
35
  }
36
36
  }
@@ -1,5 +1,6 @@
1
1
  export declare const defineCustomElement: (name: string, constructor: CustomElementConstructor) => void;
2
2
  export declare const setAssetsRegistry: (registry: CustomElementRegistry) => void;
3
+ export declare const resetAssetsRegistry: () => void;
3
4
  declare global {
4
5
  interface ShadowRootInit {
5
6
  customElements?: CustomElementRegistry;
package/utils/element.js CHANGED
@@ -22,6 +22,9 @@ export const setAssetsRegistry = registry => {
22
22
  }
23
23
  nectaryDefinitions.clear();
24
24
  };
25
+ export const resetAssetsRegistry = () => {
26
+ nectaryRegistry = null;
27
+ };
25
28
  export class NectaryElement extends HTMLElement {
26
29
  attachShadow() {
27
30
  return super.attachShadow({