@nectary/assets 0.1.0 → 0.2.0

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.
@@ -0,0 +1,11 @@
1
+ import type { TSinchIconElement, TSinchIconReact } from '../types';
2
+ declare global {
3
+ namespace JSX {
4
+ interface IntrinsicElements {
5
+ 'sinch-icon-chat-bubble-friendly': TSinchIconReact;
6
+ }
7
+ }
8
+ interface HTMLElementTagNameMap {
9
+ 'sinch-icon-chat-bubble-friendly': TSinchIconElement;
10
+ }
11
+ }
@@ -0,0 +1,4 @@
1
+ import { defineCustomElement } from '../../utils/element';
2
+ import { createIconClass } from '../create-icon-class';
3
+ const templateHTML = '<svg viewBox="0 0 24 24" aria-hidden="true" focusable="false"><mask id="a" width="24" height="24" x="0" y="0" maskUnits="userSpaceOnUse" style="mask-type:luminance"><path fill="#fff" d="M24 0H0v24h24V0Z"/></mask><g mask="url(#a)"><path d="M20 2H4c-1.1 0-2 .9-2 2v18l4-4h14c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2Zm-1 14H6l-2 2V5c0-.55.45-1 1-1h14c.55 0 1 .45 1 1v10c0 .55-.45 1-1 1Z"/><path fill-rule="evenodd" d="M7.544 9.11a1 1 0 0 1 1.346.434c.363.71.795 1.184 1.278 1.486.482.3 1.077.47 1.832.47.755 0 1.35-.17 1.832-.47.483-.302.915-.777 1.278-1.486a1 1 0 0 1 1.78.912c-.494.965-1.152 1.74-1.998 2.27-.85.53-1.825.774-2.892.774s-2.043-.244-2.892-.774c-.847-.53-1.504-1.305-1.998-2.27a1 1 0 0 1 .434-1.346Z" clip-rule="evenodd"/></g></svg>';
4
+ defineCustomElement('sinch-icon-chat-bubble-friendly', 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 fill="#242424" d="m43.48 22.674-4.22-4.45v-7.662C39.26 6.944 36.467 4 33.036 4h-3.26C28.797 4 28 4.84 28 5.875c0 1.036.796 1.875 1.778 1.875h3.259c1.47 0 2.667 1.262 2.667 2.813V19c0 .497.187.974.52 1.326L39.708 24l-3.484 3.674c-.333.352-.52.829-.52 1.326v8.438c0 1.55-1.197 2.812-2.667 2.812h-3.26c-.981 0-1.777.84-1.777 1.875C28 43.16 28.796 44 29.778 44h3.259c3.431 0 6.222-2.944 6.222-6.563v-7.66l4.22-4.451a1.948 1.948 0 0 0 0-2.652ZM12.296 19v-8.438c0-1.55 1.197-2.812 2.667-2.812h3.26c.981 0 1.777-.84 1.777-1.875C20 4.839 19.204 4 18.222 4h-3.259c-3.431 0-6.222 2.944-6.222 6.563v7.66l-4.22 4.451a1.948 1.948 0 0 0 0 2.652l4.22 4.45v7.662c0 3.618 2.791 6.562 6.222 6.562h3.26c.981 0 1.777-.84 1.777-1.875 0-1.035-.796-1.875-1.778-1.875h-3.259c-1.47 0-2.667-1.262-2.667-2.813V29c0-.497-.187-.974-.52-1.326L8.292 24l3.484-3.674c.333-.352.52-.829.52-1.326Z"/></svg>';
3
+ const templateHTML = '<svg viewBox="0 0 48 48" aria-hidden="true" focusable="false"><path d="m43.48 22.674-4.22-4.45v-7.662C39.26 6.944 36.467 4 33.036 4h-3.26C28.797 4 28 4.84 28 5.875c0 1.036.796 1.875 1.778 1.875h3.259c1.47 0 2.667 1.262 2.667 2.813V19c0 .497.187.974.52 1.326L39.708 24l-3.484 3.674c-.333.352-.52.829-.52 1.326v8.438c0 1.55-1.197 2.812-2.667 2.812h-3.26c-.981 0-1.777.84-1.777 1.875C28 43.16 28.796 44 29.778 44h3.259c3.431 0 6.222-2.944 6.222-6.563v-7.66l4.22-4.451a1.948 1.948 0 0 0 0-2.652ZM12.296 19v-8.438c0-1.55 1.197-2.812 2.667-2.812h3.26c.981 0 1.777-.84 1.777-1.875C20 4.839 19.204 4 18.222 4h-3.259c-3.431 0-6.222 2.944-6.222 6.563v7.66l-4.22 4.451a1.948 1.948 0 0 0 0 2.652l4.22 4.45v7.662c0 3.618 2.791 6.562 6.222 6.562h3.26c.981 0 1.777-.84 1.777-1.875 0-1.035-.796-1.875-1.778-1.875h-3.259c-1.47 0-2.667-1.262-2.667-2.813V29c0-.497-.187-.974-.52-1.326L8.292 24l3.484-3.674c.333-.352.52-.829.52-1.326Z"/></svg>';
4
4
  defineCustomElement('sinch-icon-variables', createIconClass(templateHTML));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nectary/assets",
3
- "version": "0.1.0",
3
+ "version": "0.2.0",
4
4
  "files": [
5
5
  "**/*/*.css",
6
6
  "**/*/*.json",