@nectary/assets 0.1.1 → 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));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nectary/assets",
3
- "version": "0.1.1",
3
+ "version": "0.2.0",
4
4
  "files": [
5
5
  "**/*/*.css",
6
6
  "**/*/*.json",