Skip to content

Commit 1e37014

Browse files
authored
[minor][16.25.0] Add Inbount/Outbound Icons (#147)
1 parent 12c33a0 commit 1e37014

File tree

9 files changed

+63
-10
lines changed

9 files changed

+63
-10
lines changed

package-lock.json

+5-5
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@toniq-labs/design-system-root",
3-
"version": "16.24.0",
3+
"version": "16.25.0",
44
"private": true,
55
"description": "Root design system mono-repo package.",
66
"homepage": "https://github.com/Toniq-Labs/toniq-labs-design-system",

packages/design-system/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@toniq-labs/design-system",
3-
"version": "16.24.0",
3+
"version": "16.25.0",
44
"private": false,
55
"description": "Design system elements for Toniq Labs",
66
"keywords": [

packages/design-system/src/elements/toniq-top-tabs/toniq-top-tabs.element.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ export enum ToniqTopTabVariantEnum {
2222
export type ToniqTopTab = Readonly<{
2323
label: string;
2424
value: Primitive;
25-
icon?: ToniqSvg;
25+
icon?: ToniqSvg | undefined;
2626
/** Set this to treat the tab as a router link. */
2727
link?: {
2828
route: FullRoute;

packages/design-system/src/icons/index.ts

+6
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ import {Geometry24Icon} from './svgs/core-24/geometry-24.icon';
5050
import {Gift24Icon} from './svgs/core-24/gift-24.icon';
5151
import {GridDots24Icon} from './svgs/core-24/grid-dots-24.icon';
5252
import {Heart24Icon} from './svgs/core-24/heart-24.icon';
53+
import {Inbound24Icon} from './svgs/core-24/inbound-24.icon';
5354
import {Infinity24Icon} from './svgs/core-24/infinity-24.icon';
5455
import {Info24Icon} from './svgs/core-24/info-24.icon';
5556
import {LayersLinked24Icon} from './svgs/core-24/layers-linked-24.icon';
@@ -64,6 +65,7 @@ import {LoaderAnimated24Icon} from './svgs/core-24/loader-animated-24.icon';
6465
import {Lock24Icon} from './svgs/core-24/lock-24.icon';
6566
import {LockOpen24Icon} from './svgs/core-24/lock-open-24.icon';
6667
import {Menu24Icon} from './svgs/core-24/menu-24.icon';
68+
import {Outbound24Icon} from './svgs/core-24/outbound-24.icon';
6769
import {Pamphlet24Icon} from './svgs/core-24/pamphlet-24.icon';
6870
import {Paper24Icon} from './svgs/core-24/paper-24.icon';
6971
import {People24Icon} from './svgs/core-24/people-24.icon';
@@ -189,6 +191,7 @@ export * from './svgs/core-24/geometry-24.icon';
189191
export * from './svgs/core-24/gift-24.icon';
190192
export * from './svgs/core-24/grid-dots-24.icon';
191193
export * from './svgs/core-24/heart-24.icon';
194+
export * from './svgs/core-24/inbound-24.icon';
192195
export * from './svgs/core-24/infinity-24.icon';
193196
export * from './svgs/core-24/info-24.icon';
194197
export * from './svgs/core-24/layers-linked-24.icon';
@@ -203,6 +206,7 @@ export * from './svgs/core-24/loader-animated-24.icon';
203206
export * from './svgs/core-24/lock-24.icon';
204207
export * from './svgs/core-24/lock-open-24.icon';
205208
export * from './svgs/core-24/menu-24.icon';
209+
export * from './svgs/core-24/outbound-24.icon';
206210
export * from './svgs/core-24/pamphlet-24.icon';
207211
export * from './svgs/core-24/paper-24.icon';
208212
export * from './svgs/core-24/people-24.icon';
@@ -334,6 +338,7 @@ export const allIconsByCategory = {
334338
Gift24Icon,
335339
GridDots24Icon,
336340
Heart24Icon,
341+
Inbound24Icon,
337342
Infinity24Icon,
338343
Info24Icon,
339344
LayersLinked24Icon,
@@ -348,6 +353,7 @@ export const allIconsByCategory = {
348353
Lock24Icon,
349354
LockOpen24Icon,
350355
Menu24Icon,
356+
Outbound24Icon,
351357
Pamphlet24Icon,
352358
Paper24Icon,
353359
People24Icon,
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
import {html} from 'element-vir';
2+
import {defineIcon} from 'vira';
3+
import {toniqIconCssVars} from '../../../styles';
4+
5+
export const Inbound24Icon = defineIcon({
6+
name: 'Inbound24',
7+
svgTemplate: html`
8+
<svg
9+
xmlns="http://www.w3.org/2000/svg"
10+
viewBox="0 0 24 24"
11+
fill=${toniqIconCssVars['toniq-icon-fill-color'].value}
12+
stroke=${toniqIconCssVars['toniq-icon-stroke-color'].value}
13+
stroke-linecap="round"
14+
stroke-linejoin="round"
15+
width="24"
16+
height="24"
17+
stroke-width="2"
18+
transform="rotate(90)"
19+
>
20+
<path d="M3 12a9 9 0 1 0 18 0 9 9 0 1 0-18 0m6 3 6-6" />
21+
<path d="M11 9h4v4" />
22+
</svg>
23+
`,
24+
});
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
import {html} from 'element-vir';
2+
import {defineIcon} from 'vira';
3+
import {toniqIconCssVars} from '../../../styles';
4+
5+
export const Outbound24Icon = defineIcon({
6+
name: 'Outbound24',
7+
svgTemplate: html`
8+
<svg
9+
xmlns="http://www.w3.org/2000/svg"
10+
viewBox="0 0 24 24"
11+
fill=${toniqIconCssVars['toniq-icon-fill-color'].value}
12+
stroke=${toniqIconCssVars['toniq-icon-stroke-color'].value}
13+
stroke-linecap="round"
14+
stroke-linejoin="round"
15+
width="24"
16+
height="24"
17+
stroke-width="2"
18+
>
19+
<path d="M3 12a9 9 0 1 0 18 0 9 9 0 1 0-18 0m6 3 6-6" />
20+
<path d="M11 9h4v4" />
21+
</svg>
22+
`,
23+
});

packages/native-elements-test/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@toniq-labs/design-system-native-elements-test",
3-
"version": "16.24.0",
3+
"version": "16.25.0",
44
"private": true,
55
"scripts": {
66
"compile": "virmator compile",

packages/scripts/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@toniq-labs/design-system-scripts",
3-
"version": "16.24.0",
3+
"version": "16.25.0",
44
"private": true,
55
"scripts": {
66
"compile": "virmator compile",

0 commit comments

Comments
 (0)