@nectary/components 0.8.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.
Files changed (132) hide show
  1. package/accordion/index.d.ts +21 -0
  2. package/accordion/index.js +118 -0
  3. package/accordion-item/index.d.ts +33 -0
  4. package/accordion-item/index.js +139 -0
  5. package/alert/index.d.ts +26 -0
  6. package/alert/index.js +91 -0
  7. package/alert-button/index.d.ts +23 -0
  8. package/alert-button/index.js +62 -0
  9. package/alert-close/index.d.ts +22 -0
  10. package/alert-close/index.js +41 -0
  11. package/button/index.d.ts +32 -0
  12. package/button/index.js +100 -0
  13. package/checkbox/index.d.ts +29 -0
  14. package/checkbox/index.js +134 -0
  15. package/help-tooltip/index.d.ts +15 -0
  16. package/help-tooltip/index.js +80 -0
  17. package/icon/cancel/index.d.ts +11 -0
  18. package/icon/cancel/index.js +4 -0
  19. package/icon/close/index.d.ts +11 -0
  20. package/icon/close/index.js +4 -0
  21. package/icon/create-icon-class.d.ts +308 -0
  22. package/icon/create-icon-class.js +53 -0
  23. package/icon/east/index.d.ts +11 -0
  24. package/icon/east/index.js +4 -0
  25. package/icon/help-outline/index.d.ts +11 -0
  26. package/icon/help-outline/index.js +4 -0
  27. package/icon/more-horiz/index.d.ts +11 -0
  28. package/icon/more-horiz/index.js +4 -0
  29. package/icon/more-vert/index.d.ts +11 -0
  30. package/icon/more-vert/index.js +4 -0
  31. package/icon/north/index.d.ts +11 -0
  32. package/icon/north/index.js +4 -0
  33. package/icon/north-east/index.d.ts +11 -0
  34. package/icon/north-east/index.js +4 -0
  35. package/icon/north-west/index.d.ts +11 -0
  36. package/icon/north-west/index.js +4 -0
  37. package/icon/open-in-new/index.d.ts +11 -0
  38. package/icon/open-in-new/index.js +4 -0
  39. package/icon/south/index.d.ts +11 -0
  40. package/icon/south/index.js +4 -0
  41. package/icon/south-east/index.d.ts +11 -0
  42. package/icon/south-east/index.js +4 -0
  43. package/icon/south-west/index.d.ts +11 -0
  44. package/icon/south-west/index.js +4 -0
  45. package/icon/types.d.ts +7 -0
  46. package/icon/types.js +1 -0
  47. package/icon/west/index.d.ts +11 -0
  48. package/icon/west/index.js +4 -0
  49. package/icon-branded/barchart-down/index.d.ts +11 -0
  50. package/icon-branded/barchart-down/index.js +4 -0
  51. package/icon-branded/barchart-up/index.d.ts +11 -0
  52. package/icon-branded/barchart-up/index.js +4 -0
  53. package/icon-branded/campaigns/index.d.ts +11 -0
  54. package/icon-branded/campaigns/index.js +4 -0
  55. package/icon-branded/chatbot/index.d.ts +11 -0
  56. package/icon-branded/chatbot/index.js +4 -0
  57. package/icon-branded/contact/index.d.ts +11 -0
  58. package/icon-branded/contact/index.js +4 -0
  59. package/icon-branded/create-icon-class.d.ts +309 -0
  60. package/icon-branded/create-icon-class.js +61 -0
  61. package/icon-branded/home/index.d.ts +11 -0
  62. package/icon-branded/home/index.js +4 -0
  63. package/icon-branded/multiple-channels/index.d.ts +11 -0
  64. package/icon-branded/multiple-channels/index.js +4 -0
  65. package/icon-branded/rocket/index.d.ts +11 -0
  66. package/icon-branded/rocket/index.js +4 -0
  67. package/icon-branded/settings/index.d.ts +11 -0
  68. package/icon-branded/settings/index.js +4 -0
  69. package/icon-branded/types.d.ts +9 -0
  70. package/icon-branded/types.js +1 -0
  71. package/icon-branded/user/index.d.ts +11 -0
  72. package/icon-branded/user/index.js +4 -0
  73. package/icon-branded/users/index.d.ts +11 -0
  74. package/icon-branded/users/index.js +4 -0
  75. package/index.d.ts +56 -0
  76. package/index.js +56 -0
  77. package/input/index.d.ts +35 -0
  78. package/input/index.js +203 -0
  79. package/link/index.d.ts +30 -0
  80. package/link/index.js +118 -0
  81. package/logo/create-logo-class.d.ts +309 -0
  82. package/logo/create-logo-class.js +63 -0
  83. package/logo/sinch-icon/index.d.ts +11 -0
  84. package/logo/sinch-icon/index.js +4 -0
  85. package/logo/sinch-icon-wordmark/index.d.ts +11 -0
  86. package/logo/sinch-icon-wordmark/index.js +4 -0
  87. package/logo/types.d.ts +9 -0
  88. package/logo/types.js +1 -0
  89. package/package.json +34 -0
  90. package/radio/index.d.ts +19 -0
  91. package/radio/index.js +185 -0
  92. package/radio-option/index.d.ts +28 -0
  93. package/radio-option/index.js +134 -0
  94. package/readme.md +172 -0
  95. package/select/index.d.ts +37 -0
  96. package/select/index.js +492 -0
  97. package/select-option/index.d.ts +27 -0
  98. package/select-option/index.js +107 -0
  99. package/spinner/index.d.ts +21 -0
  100. package/spinner/index.js +23 -0
  101. package/table/index.d.ts +13 -0
  102. package/table/index.js +18 -0
  103. package/table-body/index.d.ts +13 -0
  104. package/table-body/index.js +18 -0
  105. package/table-cell/index.d.ts +20 -0
  106. package/table-cell/index.js +27 -0
  107. package/table-head/index.d.ts +13 -0
  108. package/table-head/index.js +18 -0
  109. package/table-head-cell/index.d.ts +24 -0
  110. package/table-head-cell/index.js +74 -0
  111. package/table-head-sort/index.d.ts +25 -0
  112. package/table-head-sort/index.js +92 -0
  113. package/table-row/index.d.ts +17 -0
  114. package/table-row/index.js +26 -0
  115. package/tabs/index.d.ts +19 -0
  116. package/tabs/index.js +181 -0
  117. package/tabs-option/index.d.ts +28 -0
  118. package/tabs-option/index.js +129 -0
  119. package/tag/index.d.ts +27 -0
  120. package/tag/index.js +79 -0
  121. package/tag-close/index.d.ts +24 -0
  122. package/tag-close/index.js +70 -0
  123. package/textarea/index.d.ts +35 -0
  124. package/textarea/index.js +201 -0
  125. package/theme.css +112 -0
  126. package/toggle/index.d.ts +31 -0
  127. package/toggle/index.js +144 -0
  128. package/tooltip/index.d.ts +26 -0
  129. package/tooltip/index.js +68 -0
  130. package/types.d.ts +3 -0
  131. package/utils.d.ts +31 -0
  132. package/utils.js +146 -0
@@ -0,0 +1,308 @@
1
+ export declare const createIconClass: (templateHTML: string) => {
2
+ new (): {
3
+ $svg: SVGElement;
4
+ size: number;
5
+ connectedCallback(): void;
6
+ attributeChangedCallback(name: string, _: string | null, newVal: string | null): void;
7
+ accessKey: string;
8
+ readonly accessKeyLabel: string;
9
+ autocapitalize: string;
10
+ dir: string;
11
+ draggable: boolean;
12
+ hidden: boolean;
13
+ innerText: string;
14
+ lang: string;
15
+ readonly offsetHeight: number;
16
+ readonly offsetLeft: number;
17
+ readonly offsetParent: Element | null;
18
+ readonly offsetTop: number;
19
+ readonly offsetWidth: number;
20
+ outerText: string;
21
+ spellcheck: boolean;
22
+ title: string;
23
+ translate: boolean;
24
+ attachInternals(): ElementInternals;
25
+ click(): void;
26
+ addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions | undefined): void;
27
+ addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions | undefined): void;
28
+ removeEventListener<K_1 extends keyof HTMLElementEventMap>(type: K_1, listener: (this: HTMLElement, ev: HTMLElementEventMap[K_1]) => any, options?: boolean | EventListenerOptions | undefined): void;
29
+ removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions | undefined): void;
30
+ readonly attributes: NamedNodeMap;
31
+ readonly classList: DOMTokenList;
32
+ className: string;
33
+ readonly clientHeight: number;
34
+ readonly clientLeft: number;
35
+ readonly clientTop: number;
36
+ readonly clientWidth: number;
37
+ id: string;
38
+ readonly localName: string;
39
+ readonly namespaceURI: string | null;
40
+ onfullscreenchange: ((this: Element, ev: Event) => any) | null;
41
+ onfullscreenerror: ((this: Element, ev: Event) => any) | null;
42
+ outerHTML: string;
43
+ readonly ownerDocument: Document;
44
+ readonly part: DOMTokenList;
45
+ readonly prefix: string | null;
46
+ readonly scrollHeight: number;
47
+ scrollLeft: number;
48
+ scrollTop: number;
49
+ readonly scrollWidth: number;
50
+ readonly shadowRoot: ShadowRoot | null;
51
+ slot: string;
52
+ readonly tagName: string;
53
+ attachShadow(init: ShadowRootInit): ShadowRoot;
54
+ closest<K_2 extends keyof HTMLElementTagNameMap>(selector: K_2): HTMLElementTagNameMap[K_2] | null;
55
+ closest<K_3 extends keyof SVGElementTagNameMap>(selector: K_3): SVGElementTagNameMap[K_3] | null;
56
+ closest<E extends Element = Element>(selectors: string): E | null;
57
+ getAttribute(qualifiedName: string): string | null;
58
+ getAttributeNS(namespace: string | null, localName: string): string | null;
59
+ getAttributeNames(): string[];
60
+ getAttributeNode(qualifiedName: string): Attr | null;
61
+ getAttributeNodeNS(namespace: string | null, localName: string): Attr | null;
62
+ getBoundingClientRect(): DOMRect;
63
+ getClientRects(): DOMRectList;
64
+ getElementsByClassName(classNames: string): HTMLCollectionOf<Element>;
65
+ getElementsByTagName<K_4 extends keyof HTMLElementTagNameMap>(qualifiedName: K_4): HTMLCollectionOf<HTMLElementTagNameMap[K_4]>;
66
+ getElementsByTagName<K_5 extends keyof SVGElementTagNameMap>(qualifiedName: K_5): HTMLCollectionOf<SVGElementTagNameMap[K_5]>;
67
+ getElementsByTagName(qualifiedName: string): HTMLCollectionOf<Element>;
68
+ getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1999/xhtml", localName: string): HTMLCollectionOf<HTMLElement>;
69
+ getElementsByTagNameNS(namespaceURI: "http://www.w3.org/2000/svg", localName: string): HTMLCollectionOf<SVGElement>;
70
+ getElementsByTagNameNS(namespace: string | null, localName: string): HTMLCollectionOf<Element>;
71
+ hasAttribute(qualifiedName: string): boolean;
72
+ hasAttributeNS(namespace: string | null, localName: string): boolean;
73
+ hasAttributes(): boolean;
74
+ hasPointerCapture(pointerId: number): boolean;
75
+ insertAdjacentElement(where: InsertPosition, element: Element): Element | null;
76
+ insertAdjacentHTML(position: InsertPosition, text: string): void;
77
+ insertAdjacentText(where: InsertPosition, data: string): void;
78
+ matches(selectors: string): boolean;
79
+ releasePointerCapture(pointerId: number): void;
80
+ removeAttribute(qualifiedName: string): void;
81
+ removeAttributeNS(namespace: string | null, localName: string): void;
82
+ removeAttributeNode(attr: Attr): Attr;
83
+ requestFullscreen(options?: FullscreenOptions | undefined): Promise<void>;
84
+ requestPointerLock(): void;
85
+ scroll(options?: ScrollToOptions | undefined): void;
86
+ scroll(x: number, y: number): void;
87
+ scrollBy(options?: ScrollToOptions | undefined): void;
88
+ scrollBy(x: number, y: number): void;
89
+ scrollIntoView(arg?: boolean | ScrollIntoViewOptions | undefined): void;
90
+ scrollTo(options?: ScrollToOptions | undefined): void;
91
+ scrollTo(x: number, y: number): void;
92
+ setAttribute(qualifiedName: string, value: string): void;
93
+ setAttributeNS(namespace: string | null, qualifiedName: string, value: string): void;
94
+ setAttributeNode(attr: Attr): Attr | null;
95
+ setAttributeNodeNS(attr: Attr): Attr | null;
96
+ setPointerCapture(pointerId: number): void;
97
+ toggleAttribute(qualifiedName: string, force?: boolean | undefined): boolean;
98
+ webkitMatchesSelector(selectors: string): boolean;
99
+ readonly baseURI: string;
100
+ readonly childNodes: NodeListOf<ChildNode>;
101
+ readonly firstChild: ChildNode | null;
102
+ readonly isConnected: boolean;
103
+ readonly lastChild: ChildNode | null;
104
+ readonly nextSibling: ChildNode | null;
105
+ readonly nodeName: string;
106
+ readonly nodeType: number;
107
+ nodeValue: string | null;
108
+ readonly parentElement: HTMLElement | null;
109
+ readonly parentNode: ParentNode | null;
110
+ readonly previousSibling: ChildNode | null;
111
+ textContent: string | null;
112
+ appendChild<T extends Node>(node: T): T;
113
+ cloneNode(deep?: boolean | undefined): Node;
114
+ compareDocumentPosition(other: Node): number;
115
+ contains(other: Node | null): boolean;
116
+ getRootNode(options?: GetRootNodeOptions | undefined): Node;
117
+ hasChildNodes(): boolean;
118
+ insertBefore<T_1 extends Node>(node: T_1, child: Node | null): T_1;
119
+ isDefaultNamespace(namespace: string | null): boolean;
120
+ isEqualNode(otherNode: Node | null): boolean;
121
+ isSameNode(otherNode: Node | null): boolean;
122
+ lookupNamespaceURI(prefix: string | null): string | null;
123
+ lookupPrefix(namespace: string | null): string | null;
124
+ normalize(): void;
125
+ removeChild<T_2 extends Node>(child: T_2): T_2;
126
+ replaceChild<T_3 extends Node>(node: Node, child: T_3): T_3;
127
+ readonly ATTRIBUTE_NODE: number;
128
+ readonly CDATA_SECTION_NODE: number;
129
+ readonly COMMENT_NODE: number;
130
+ readonly DOCUMENT_FRAGMENT_NODE: number;
131
+ readonly DOCUMENT_NODE: number;
132
+ readonly DOCUMENT_POSITION_CONTAINED_BY: number;
133
+ readonly DOCUMENT_POSITION_CONTAINS: number;
134
+ readonly DOCUMENT_POSITION_DISCONNECTED: number;
135
+ readonly DOCUMENT_POSITION_FOLLOWING: number;
136
+ readonly DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC: number;
137
+ readonly DOCUMENT_POSITION_PRECEDING: number;
138
+ readonly DOCUMENT_TYPE_NODE: number;
139
+ readonly ELEMENT_NODE: number;
140
+ readonly ENTITY_NODE: number;
141
+ readonly ENTITY_REFERENCE_NODE: number;
142
+ readonly NOTATION_NODE: number;
143
+ readonly PROCESSING_INSTRUCTION_NODE: number;
144
+ readonly TEXT_NODE: number;
145
+ dispatchEvent(event: Event): boolean;
146
+ ariaAtomic: string;
147
+ ariaAutoComplete: string;
148
+ ariaBusy: string;
149
+ ariaChecked: string;
150
+ ariaColCount: string;
151
+ ariaColIndex: string;
152
+ ariaColSpan: string;
153
+ ariaCurrent: string;
154
+ ariaDisabled: string;
155
+ ariaExpanded: string;
156
+ ariaHasPopup: string;
157
+ ariaHidden: string;
158
+ ariaKeyShortcuts: string;
159
+ ariaLabel: string;
160
+ ariaLevel: string;
161
+ ariaLive: string;
162
+ ariaModal: string;
163
+ ariaMultiLine: string;
164
+ ariaMultiSelectable: string;
165
+ ariaOrientation: string;
166
+ ariaPlaceholder: string;
167
+ ariaPosInSet: string;
168
+ ariaPressed: string;
169
+ ariaReadOnly: string;
170
+ ariaRequired: string;
171
+ ariaRoleDescription: string;
172
+ ariaRowCount: string;
173
+ ariaRowIndex: string;
174
+ ariaRowSpan: string;
175
+ ariaSelected: string;
176
+ ariaSetSize: string;
177
+ ariaSort: string;
178
+ ariaValueMax: string;
179
+ ariaValueMin: string;
180
+ ariaValueNow: string;
181
+ ariaValueText: string;
182
+ animate(keyframes: Keyframe[] | PropertyIndexedKeyframes | null, options?: number | KeyframeAnimationOptions | undefined): Animation;
183
+ getAnimations(options?: GetAnimationsOptions | undefined): Animation[];
184
+ after(...nodes: (string | Node)[]): void;
185
+ before(...nodes: (string | Node)[]): void;
186
+ remove(): void;
187
+ replaceWith(...nodes: (string | Node)[]): void;
188
+ innerHTML: string;
189
+ readonly nextElementSibling: Element | null;
190
+ readonly previousElementSibling: Element | null;
191
+ readonly childElementCount: number;
192
+ readonly children: HTMLCollection;
193
+ readonly firstElementChild: Element | null;
194
+ readonly lastElementChild: Element | null;
195
+ append(...nodes: (string | Node)[]): void;
196
+ prepend(...nodes: (string | Node)[]): void;
197
+ querySelector<K_6 extends keyof HTMLElementTagNameMap>(selectors: K_6): HTMLElementTagNameMap[K_6] | null;
198
+ querySelector<K_7 extends keyof SVGElementTagNameMap>(selectors: K_7): SVGElementTagNameMap[K_7] | null;
199
+ querySelector<E_1 extends Element = Element>(selectors: string): E_1 | null;
200
+ querySelectorAll<K_8 extends keyof HTMLElementTagNameMap>(selectors: K_8): NodeListOf<HTMLElementTagNameMap[K_8]>;
201
+ querySelectorAll<K_9 extends keyof SVGElementTagNameMap>(selectors: K_9): NodeListOf<SVGElementTagNameMap[K_9]>;
202
+ querySelectorAll<E_2 extends Element = Element>(selectors: string): NodeListOf<E_2>;
203
+ replaceChildren(...nodes: (string | Node)[]): void;
204
+ readonly assignedSlot: HTMLSlotElement | null;
205
+ oncopy: ((this: DocumentAndElementEventHandlers, ev: ClipboardEvent) => any) | null;
206
+ oncut: ((this: DocumentAndElementEventHandlers, ev: ClipboardEvent) => any) | null;
207
+ onpaste: ((this: DocumentAndElementEventHandlers, ev: ClipboardEvent) => any) | null;
208
+ readonly style: CSSStyleDeclaration;
209
+ contentEditable: string;
210
+ enterKeyHint: string;
211
+ inputMode: string;
212
+ readonly isContentEditable: boolean;
213
+ onabort: ((this: GlobalEventHandlers, ev: UIEvent) => any) | null;
214
+ onanimationcancel: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
215
+ onanimationend: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
216
+ onanimationiteration: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
217
+ onanimationstart: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
218
+ onauxclick: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
219
+ onblur: ((this: GlobalEventHandlers, ev: FocusEvent) => any) | null;
220
+ oncanplay: ((this: GlobalEventHandlers, ev: Event) => any) | null;
221
+ oncanplaythrough: ((this: GlobalEventHandlers, ev: Event) => any) | null;
222
+ onchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
223
+ onclick: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
224
+ onclose: ((this: GlobalEventHandlers, ev: Event) => any) | null;
225
+ oncontextmenu: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
226
+ oncuechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
227
+ ondblclick: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
228
+ ondrag: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
229
+ ondragend: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
230
+ ondragenter: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
231
+ ondragleave: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
232
+ ondragover: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
233
+ ondragstart: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
234
+ ondrop: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
235
+ ondurationchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
236
+ onemptied: ((this: GlobalEventHandlers, ev: Event) => any) | null;
237
+ onended: ((this: GlobalEventHandlers, ev: Event) => any) | null;
238
+ onerror: OnErrorEventHandler;
239
+ onfocus: ((this: GlobalEventHandlers, ev: FocusEvent) => any) | null;
240
+ onformdata: ((this: GlobalEventHandlers, ev: FormDataEvent) => any) | null;
241
+ ongotpointercapture: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
242
+ oninput: ((this: GlobalEventHandlers, ev: Event) => any) | null;
243
+ oninvalid: ((this: GlobalEventHandlers, ev: Event) => any) | null;
244
+ onkeydown: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
245
+ onkeypress: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
246
+ onkeyup: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
247
+ onload: ((this: GlobalEventHandlers, ev: Event) => any) | null;
248
+ onloadeddata: ((this: GlobalEventHandlers, ev: Event) => any) | null;
249
+ onloadedmetadata: ((this: GlobalEventHandlers, ev: Event) => any) | null;
250
+ onloadstart: ((this: GlobalEventHandlers, ev: Event) => any) | null;
251
+ onlostpointercapture: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
252
+ onmousedown: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
253
+ onmouseenter: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
254
+ onmouseleave: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
255
+ onmousemove: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
256
+ onmouseout: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
257
+ onmouseover: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
258
+ onmouseup: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
259
+ onpause: ((this: GlobalEventHandlers, ev: Event) => any) | null;
260
+ onplay: ((this: GlobalEventHandlers, ev: Event) => any) | null;
261
+ onplaying: ((this: GlobalEventHandlers, ev: Event) => any) | null;
262
+ onpointercancel: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
263
+ onpointerdown: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
264
+ onpointerenter: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
265
+ onpointerleave: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
266
+ onpointermove: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
267
+ onpointerout: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
268
+ onpointerover: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
269
+ onpointerup: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
270
+ onprogress: ((this: GlobalEventHandlers, ev: ProgressEvent<EventTarget>) => any) | null;
271
+ onratechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
272
+ onreset: ((this: GlobalEventHandlers, ev: Event) => any) | null;
273
+ onresize: ((this: GlobalEventHandlers, ev: UIEvent) => any) | null;
274
+ onscroll: ((this: GlobalEventHandlers, ev: Event) => any) | null;
275
+ onseeked: ((this: GlobalEventHandlers, ev: Event) => any) | null;
276
+ onseeking: ((this: GlobalEventHandlers, ev: Event) => any) | null;
277
+ onselect: ((this: GlobalEventHandlers, ev: Event) => any) | null;
278
+ onselectionchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
279
+ onselectstart: ((this: GlobalEventHandlers, ev: Event) => any) | null;
280
+ onstalled: ((this: GlobalEventHandlers, ev: Event) => any) | null;
281
+ onsubmit: ((this: GlobalEventHandlers, ev: SubmitEvent) => any) | null;
282
+ onsuspend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
283
+ ontimeupdate: ((this: GlobalEventHandlers, ev: Event) => any) | null;
284
+ ontoggle: ((this: GlobalEventHandlers, ev: Event) => any) | null;
285
+ ontouchcancel?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
286
+ ontouchend?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
287
+ ontouchmove?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
288
+ ontouchstart?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
289
+ ontransitioncancel: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;
290
+ ontransitionend: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;
291
+ ontransitionrun: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;
292
+ ontransitionstart: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;
293
+ onvolumechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
294
+ onwaiting: ((this: GlobalEventHandlers, ev: Event) => any) | null;
295
+ onwebkitanimationend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
296
+ onwebkitanimationiteration: ((this: GlobalEventHandlers, ev: Event) => any) | null;
297
+ onwebkitanimationstart: ((this: GlobalEventHandlers, ev: Event) => any) | null;
298
+ onwebkittransitionend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
299
+ onwheel: ((this: GlobalEventHandlers, ev: WheelEvent) => any) | null;
300
+ autofocus: boolean;
301
+ readonly dataset: DOMStringMap;
302
+ nonce?: string | undefined;
303
+ tabIndex: number;
304
+ blur(): void;
305
+ focus(options?: FocusOptions | undefined): void;
306
+ };
307
+ readonly observedAttributes: string[];
308
+ };
@@ -0,0 +1,53 @@
1
+ import { getIntegerAttribute, updateAttribute, updateIntegerAttribute } from '../utils';
2
+ const iconStylesHtml = '<style>:host{display:inline-block;vertical-align:middle}svg{display:block;fill:var(--sinch-color-icon,--sinch-color-text-default)}</style>';
3
+ const DEFAULT_SIZE = 24;
4
+ const MIN_SIZE = 4;
5
+ const MAX_SIZE = 256;
6
+ export const createIconClass = templateHTML => {
7
+ const template = document.createElement('template');
8
+ template.innerHTML = iconStylesHtml + templateHTML;
9
+ return class extends HTMLElement {
10
+ constructor() {
11
+ super();
12
+ const shadowRoot = this.attachShadow({
13
+ mode: 'production' === 'development' ? 'open' : 'closed'
14
+ });
15
+ shadowRoot.appendChild(template.content.cloneNode(true));
16
+ this.$svg = shadowRoot.querySelector('svg');
17
+ }
18
+
19
+ static get observedAttributes() {
20
+ return ['size'];
21
+ }
22
+
23
+ set size(value) {
24
+ updateAttribute(this, 'size', value);
25
+ }
26
+
27
+ get size() {
28
+ return getIntegerAttribute(this, 'size', DEFAULT_SIZE);
29
+ }
30
+
31
+ connectedCallback() {
32
+ updateAttribute(this.$svg, 'preserveAspectRatio', 'xMinYMin meet');
33
+
34
+ if (!this.hasAttribute('size')) {
35
+ updateAttribute(this, 'size', DEFAULT_SIZE);
36
+ }
37
+ }
38
+
39
+ attributeChangedCallback(name, _, newVal) {
40
+ switch (name) {
41
+ case 'size':
42
+ {
43
+ updateIntegerAttribute(this.$svg, 'height', newVal, {
44
+ min: MIN_SIZE,
45
+ max: MAX_SIZE
46
+ });
47
+ break;
48
+ }
49
+ }
50
+ }
51
+
52
+ };
53
+ };
@@ -0,0 +1,11 @@
1
+ import type { TSinchIconElement, TSinchIconReact } from '../types';
2
+ declare global {
3
+ namespace JSX {
4
+ interface IntrinsicElements {
5
+ 'sinch-icon-east': TSinchIconReact;
6
+ }
7
+ }
8
+ interface HTMLElementTagNameMap {
9
+ 'sinch-icon-east': TSinchIconElement;
10
+ }
11
+ }
@@ -0,0 +1,4 @@
1
+ import { defineCustomElement } from '../../utils';
2
+ import { createIconClass } from '../create-icon-class';
3
+ const templateHTML = '<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M14.29 5.71a.996.996 0 0 0 0 1.41L18.17 11H3c-.55 0-1 .45-1 1s.45 1 1 1h15.18l-3.88 3.88a.996.996 0 1 0 1.41 1.41l5.59-5.59a.996.996 0 0 0 0-1.41l-5.6-5.58a.996.996 0 0 0-1.41 0Z"/></svg>';
4
+ defineCustomElement('sinch-icon-east', createIconClass(templateHTML));
@@ -0,0 +1,11 @@
1
+ import type { TSinchIconElement, TSinchIconReact } from '../types';
2
+ declare global {
3
+ namespace JSX {
4
+ interface IntrinsicElements {
5
+ 'sinch-icon-help-outline': TSinchIconReact;
6
+ }
7
+ }
8
+ interface HTMLElementTagNameMap {
9
+ 'sinch-icon-help-outline': TSinchIconElement;
10
+ }
11
+ }
@@ -0,0 +1,4 @@
1
+ import { defineCustomElement } from '../../utils';
2
+ import { createIconClass } from '../create-icon-class';
3
+ const templateHTML = '<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2Zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8Zm-1-4h2v2h-2v-2Zm1.61-9.96c-2.06-.3-3.88.97-4.43 2.79-.18.58.26 1.17.87 1.17h.2c.41 0 .74-.29.88-.67.32-.89 1.27-1.5 2.3-1.28.95.2 1.65 1.13 1.57 2.1-.1 1.34-1.62 1.63-2.45 2.88 0 .01-.01.01-.01.02-.01.02-.02.03-.03.05-.09.15-.18.32-.25.5-.01.03-.03.05-.04.08-.01.02-.01.04-.02.07-.12.34-.2.75-.2 1.25h2c0-.42.11-.77.28-1.07.02-.03.03-.06.05-.09.08-.14.18-.27.28-.39.01-.01.02-.03.03-.04.1-.12.21-.23.33-.34.96-.91 2.26-1.65 1.99-3.56-.24-1.74-1.61-3.21-3.35-3.47Z"/></svg>';
4
+ defineCustomElement('sinch-icon-help-outline', createIconClass(templateHTML));
@@ -0,0 +1,11 @@
1
+ import type { TSinchIconElement, TSinchIconReact } from '../types';
2
+ declare global {
3
+ namespace JSX {
4
+ interface IntrinsicElements {
5
+ 'sinch-icon-more-horiz': TSinchIconReact;
6
+ }
7
+ }
8
+ interface HTMLElementTagNameMap {
9
+ 'sinch-icon-more-horiz': TSinchIconElement;
10
+ }
11
+ }
@@ -0,0 +1,4 @@
1
+ import { defineCustomElement } from '../../utils';
2
+ import { createIconClass } from '../create-icon-class';
3
+ const templateHTML = '<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M6 10c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2Zm12 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2Zm-6 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2Z"/></svg>';
4
+ defineCustomElement('sinch-icon-more-horiz', createIconClass(templateHTML));
@@ -0,0 +1,11 @@
1
+ import type { TSinchIconElement, TSinchIconReact } from '../types';
2
+ declare global {
3
+ namespace JSX {
4
+ interface IntrinsicElements {
5
+ 'sinch-icon-more-vert': TSinchIconReact;
6
+ }
7
+ }
8
+ interface HTMLElementTagNameMap {
9
+ 'sinch-icon-more-vert': TSinchIconElement;
10
+ }
11
+ }
@@ -0,0 +1,4 @@
1
+ import { defineCustomElement } from '../../utils';
2
+ import { createIconClass } from '../create-icon-class';
3
+ const templateHTML = '<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M12 8c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2Zm0 2c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2Zm0 6c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2Z"/></svg>';
4
+ defineCustomElement('sinch-icon-more-vert', createIconClass(templateHTML));
@@ -0,0 +1,11 @@
1
+ import type { TSinchIconElement, TSinchIconReact } from '../types';
2
+ declare global {
3
+ namespace JSX {
4
+ interface IntrinsicElements {
5
+ 'sinch-icon-north': TSinchIconReact;
6
+ }
7
+ }
8
+ interface HTMLElementTagNameMap {
9
+ 'sinch-icon-north': TSinchIconElement;
10
+ }
11
+ }
@@ -0,0 +1,4 @@
1
+ import { defineCustomElement } from '../../utils';
2
+ import { createIconClass } from '../create-icon-class';
3
+ const templateHTML = '<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M5.71 9.7c.39.39 1.02.39 1.41 0L11 5.83V21c0 .55.45 1 1 1s1-.45 1-1V5.83l3.88 3.88a.996.996 0 1 0 1.41-1.41L12.7 2.7a.996.996 0 0 0-1.41 0L5.71 8.29a.996.996 0 0 0 0 1.41Z"/></svg>';
4
+ defineCustomElement('sinch-icon-north', createIconClass(templateHTML));
@@ -0,0 +1,11 @@
1
+ import type { TSinchIconElement, TSinchIconReact } from '../types';
2
+ declare global {
3
+ namespace JSX {
4
+ interface IntrinsicElements {
5
+ 'sinch-icon-north-east': TSinchIconReact;
6
+ }
7
+ }
8
+ interface HTMLElementTagNameMap {
9
+ 'sinch-icon-north-east': TSinchIconElement;
10
+ }
11
+ }
@@ -0,0 +1,4 @@
1
+ import { defineCustomElement } from '../../utils';
2
+ import { createIconClass } from '../create-icon-class';
3
+ const templateHTML = '<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M9 6c0 .56.45 1 1 1h5.59L4.7 17.89a.996.996 0 1 0 1.41 1.41L17 8.41V14c0 .55.45 1 1 1s1-.45 1-1V6c0-.55-.45-1-1-1h-8c-.55 0-1 .45-1 1Z"/></svg>';
4
+ defineCustomElement('sinch-icon-north-east', createIconClass(templateHTML));
@@ -0,0 +1,11 @@
1
+ import type { TSinchIconElement, TSinchIconReact } from '../types';
2
+ declare global {
3
+ namespace JSX {
4
+ interface IntrinsicElements {
5
+ 'sinch-icon-north-west': TSinchIconReact;
6
+ }
7
+ }
8
+ interface HTMLElementTagNameMap {
9
+ 'sinch-icon-north-west': TSinchIconElement;
10
+ }
11
+ }
@@ -0,0 +1,4 @@
1
+ import { defineCustomElement } from '../../utils';
2
+ import { createIconClass } from '../create-icon-class';
3
+ const templateHTML = '<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M6 15c.56 0 1-.45 1-1V8.41L17.89 19.3a.996.996 0 1 0 1.41-1.41L8.41 7H14c.55 0 1-.45 1-1s-.45-1-1-1H6c-.55 0-1 .45-1 1v8c0 .55.45 1 1 1Z"/></svg>';
4
+ defineCustomElement('sinch-icon-north-west', createIconClass(templateHTML));
@@ -0,0 +1,11 @@
1
+ import type { TSinchIconElement, TSinchIconReact } from '../types';
2
+ declare global {
3
+ namespace JSX {
4
+ interface IntrinsicElements {
5
+ 'sinch-icon-open-in-new': TSinchIconReact;
6
+ }
7
+ }
8
+ interface HTMLElementTagNameMap {
9
+ 'sinch-icon-open-in-new': TSinchIconElement;
10
+ }
11
+ }
@@ -0,0 +1,4 @@
1
+ import { defineCustomElement } from '../../utils';
2
+ import { createIconClass } from '../create-icon-class';
3
+ const templateHTML = '<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M18 19H6c-.55 0-1-.45-1-1V6c0-.55.45-1 1-1h5c.55 0 1-.45 1-1s-.45-1-1-1H5a2 2 0 0 0-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2v-6c0-.55-.45-1-1-1s-1 .45-1 1v5c0 .55-.45 1-1 1ZM14 4c0 .55.45 1 1 1h2.59l-9.13 9.13a.996.996 0 1 0 1.41 1.41L19 6.41V9c0 .55.45 1 1 1s1-.45 1-1V4c0-.55-.45-1-1-1h-5c-.55 0-1 .45-1 1Z"/></svg>';
4
+ defineCustomElement('sinch-icon-open-in-new', createIconClass(templateHTML));
@@ -0,0 +1,11 @@
1
+ import type { TSinchIconElement, TSinchIconReact } from '../types';
2
+ declare global {
3
+ namespace JSX {
4
+ interface IntrinsicElements {
5
+ 'sinch-icon-south': TSinchIconReact;
6
+ }
7
+ }
8
+ interface HTMLElementTagNameMap {
9
+ 'sinch-icon-south': TSinchIconElement;
10
+ }
11
+ }
@@ -0,0 +1,4 @@
1
+ import { defineCustomElement } from '../../utils';
2
+ import { createIconClass } from '../create-icon-class';
3
+ const templateHTML = '<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M18.3 14.29a.996.996 0 0 0-1.41 0L13 18.17V3c0-.55-.45-1-1-1s-1 .45-1 1v15.18L7.12 14.3a.996.996 0 1 0-1.41 1.41l5.59 5.59c.39.39 1.02.39 1.41 0l5.59-5.59c.38-.39.38-1.03 0-1.42Z"/></svg>';
4
+ defineCustomElement('sinch-icon-south', createIconClass(templateHTML));
@@ -0,0 +1,11 @@
1
+ import type { TSinchIconElement, TSinchIconReact } from '../types';
2
+ declare global {
3
+ namespace JSX {
4
+ interface IntrinsicElements {
5
+ 'sinch-icon-south-east': TSinchIconReact;
6
+ }
7
+ }
8
+ interface HTMLElementTagNameMap {
9
+ 'sinch-icon-south-east': TSinchIconElement;
10
+ }
11
+ }
@@ -0,0 +1,4 @@
1
+ import { defineCustomElement } from '../../utils';
2
+ import { createIconClass } from '../create-icon-class';
3
+ const templateHTML = '<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M18 9c-.56 0-1 .45-1 1v5.59L6.12 4.7a.996.996 0 1 0-1.41 1.41L15.59 17H10c-.55 0-1 .45-1 1s.45 1 1 1h8c.55 0 1-.45 1-1v-8c0-.55-.45-1-1-1Z"/></svg>';
4
+ defineCustomElement('sinch-icon-south-east', createIconClass(templateHTML));
@@ -0,0 +1,11 @@
1
+ import type { TSinchIconElement, TSinchIconReact } from '../types';
2
+ declare global {
3
+ namespace JSX {
4
+ interface IntrinsicElements {
5
+ 'sinch-icon-south-west': TSinchIconReact;
6
+ }
7
+ }
8
+ interface HTMLElementTagNameMap {
9
+ 'sinch-icon-south-west': TSinchIconElement;
10
+ }
11
+ }
@@ -0,0 +1,4 @@
1
+ import { defineCustomElement } from '../../utils';
2
+ import { createIconClass } from '../create-icon-class';
3
+ const templateHTML = '<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M15 18c0-.56-.45-1-1-1H8.41L19.3 6.11a.996.996 0 1 0-1.41-1.41L7 15.59V10c0-.55-.45-1-1-1s-1 .45-1 1v8c0 .55.45 1 1 1h8c.55 0 1-.45 1-1Z"/></svg>';
4
+ defineCustomElement('sinch-icon-south-west', createIconClass(templateHTML));
@@ -0,0 +1,7 @@
1
+ import type { TSinchElementReact } from '../types';
2
+ export declare type TSinchIconElement = HTMLElement & {
3
+ size: number;
4
+ };
5
+ export declare type TSinchIconReact = TSinchElementReact<TSinchIconElement> & {
6
+ size?: number;
7
+ };
package/icon/types.js ADDED
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,11 @@
1
+ import type { TSinchIconElement, TSinchIconReact } from '../types';
2
+ declare global {
3
+ namespace JSX {
4
+ interface IntrinsicElements {
5
+ 'sinch-icon-west': TSinchIconReact;
6
+ }
7
+ }
8
+ interface HTMLElementTagNameMap {
9
+ 'sinch-icon-west': TSinchIconElement;
10
+ }
11
+ }
@@ -0,0 +1,4 @@
1
+ import { defineCustomElement } from '../../utils';
2
+ import { createIconClass } from '../create-icon-class';
3
+ const templateHTML = '<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M9.7 18.3a.996.996 0 0 0 0-1.41L5.83 13H21c.55 0 1-.45 1-1s-.45-1-1-1H5.83l3.88-3.88A.996.996 0 1 0 8.3 5.71L2.7 11.3a.996.996 0 0 0 0 1.41l5.59 5.59c.39.38 1.03.38 1.41 0Z"/></svg>';
4
+ defineCustomElement('sinch-icon-west', createIconClass(templateHTML));
@@ -0,0 +1,11 @@
1
+ import type { TSinchIconBrandedElement, TSinchIconBrandedReact } from '../types';
2
+ declare global {
3
+ namespace JSX {
4
+ interface IntrinsicElements {
5
+ 'sinch-icon-barchart-down': TSinchIconBrandedReact;
6
+ }
7
+ }
8
+ interface HTMLElementTagNameMap {
9
+ 'sinch-icon-barchart-down': TSinchIconBrandedElement;
10
+ }
11
+ }
@@ -0,0 +1,4 @@
1
+ import { defineCustomElement } from '../../utils';
2
+ import { createIconClass } from '../create-icon-class';
3
+ const templateHTML = '<svg viewBox="0 0 48 48" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M11.2 37h25.6c.59 0 1.2-.448 1.2-1V12c0-.552-.61-1-1.2-1H11.2c-.59 0-1.2.448-1.2 1v24c0 .552.61 1 1.2 1Zm25.6 2c1.767 0 3.2-1.343 3.2-3V12c0-1.657-1.433-3-3.2-3H11.2C9.433 9 8 10.343 8 12v24c0 1.657 1.433 3 3.2 3h25.6Z"/><path id="accent" d="M35 33a1 1 0 0 1-1 1h-4a1 1 0 0 1-1-1v-6a1 1 0 0 1 1-1h4a1 1 0 0 1 1 1v6Zm-8 0a1 1 0 0 1-1 1h-4a1 1 0 0 1-1-1V22a1 1 0 0 1 1-1h4a1 1 0 0 1 1 1v11Zm-9 1a1 1 0 0 0 1-1V15a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v18a1 1 0 0 0 1 1h4Z"/></svg>';
4
+ defineCustomElement('sinch-icon-barchart-down', createIconClass(templateHTML));
@@ -0,0 +1,11 @@
1
+ import type { TSinchIconBrandedElement, TSinchIconBrandedReact } from '../types';
2
+ declare global {
3
+ namespace JSX {
4
+ interface IntrinsicElements {
5
+ 'sinch-icon-barchart-up': TSinchIconBrandedReact;
6
+ }
7
+ }
8
+ interface HTMLElementTagNameMap {
9
+ 'sinch-icon-barchart-up': TSinchIconBrandedElement;
10
+ }
11
+ }
@@ -0,0 +1,4 @@
1
+ import { defineCustomElement } from '../../utils';
2
+ import { createIconClass } from '../create-icon-class';
3
+ const templateHTML = '<svg viewBox="0 0 48 48" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M36.8 11H11.2c-.59 0-1.2.448-1.2 1v24c0 .552.61 1 1.2 1h25.6c.59 0 1.2-.448 1.2-1V12c0-.552-.61-1-1.2-1ZM11.2 9C9.433 9 8 10.343 8 12v24c0 1.657 1.433 3 3.2 3h25.6c1.767 0 3.2-1.343 3.2-3V12c0-1.657-1.433-3-3.2-3H11.2Z"/><path id="accent" d="M30 14a1 1 0 0 0-1 1v18a1 1 0 0 0 1 1h4a1 1 0 0 0 1-1V15a1 1 0 0 0-1-1h-4Zm-9 8a1 1 0 0 1 1-1h4a1 1 0 0 1 1 1v11a1 1 0 0 1-1 1h-4a1 1 0 0 1-1-1V22Zm-8 5a1 1 0 0 1 1-1h4a1 1 0 0 1 1 1v6a1 1 0 0 1-1 1h-4a1 1 0 0 1-1-1v-6Z"/></svg>';
4
+ defineCustomElement('sinch-icon-barchart-up', createIconClass(templateHTML));