@postal-music/icons 0.1.2 → 0.1.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@postal-music/icons",
3
- "version": "0.1.2",
3
+ "version": "0.1.3",
4
4
  "description": "Shared design system for Postal — icons and tokens for React and React Native",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -0,0 +1,32 @@
1
+ import * as React from "react";
2
+ import Svg, { Path } from "react-native-svg";
3
+
4
+ type Gift01IconProps = {
5
+ size?: number | string;
6
+ color?: string;
7
+ };
8
+
9
+ const Gift01Icon: React.FC<Gift01IconProps> = ({
10
+ size = 14,
11
+ color = '#000000',
12
+ }) => {
13
+ return (
14
+ <Svg
15
+ width={size}
16
+ height={size}
17
+ viewBox="0 0 14 14"
18
+ fill="none"
19
+ >
20
+ <Path
21
+ d="M6.53328 3.03328V12.3666M6.53328 3.03328H4.47078C4.16689 3.03328 3.87544 2.91037 3.66056 2.69158C3.44567 2.47278 3.32495 2.17604 3.32495 1.86662C3.32495 1.5572 3.44567 1.26045 3.66056 1.04166C3.87544 0.822867 4.16689 0.699951 4.47078 0.699951C6.07495 0.699951 6.53328 3.03328 6.53328 3.03328ZM6.53328 3.03328H8.59578C8.89968 3.03328 9.19113 2.91037 9.40601 2.69158C9.6209 2.47278 9.74162 2.17604 9.74162 1.86662C9.74162 1.5572 9.6209 1.26045 9.40601 1.04166C9.19113 0.822867 8.89968 0.699951 8.59578 0.699951C6.99162 0.699951 6.53328 3.03328 6.53328 3.03328ZM11.2 5.94995V10.5C11.2 11.1533 11.2 11.48 11.0728 11.7296C10.9609 11.9491 10.7825 12.1276 10.5629 12.2395C10.3134 12.3666 9.98668 12.3666 9.33328 12.3666L3.73328 12.3666C3.07989 12.3666 2.75319 12.3666 2.50363 12.2395C2.28411 12.1276 2.10563 11.9491 1.99378 11.7296C1.86662 11.48 1.86662 11.1533 1.86662 10.5V5.94995M0.699951 3.96662L0.699951 5.01662C0.699951 5.34332 0.699951 5.50666 0.763531 5.63145C0.819457 5.74121 0.908695 5.83045 1.01846 5.88637C1.14324 5.94995 1.30659 5.94995 1.63329 5.94995L11.4333 5.94995C11.76 5.94995 11.9233 5.94995 12.0481 5.88637C12.1579 5.83045 12.2471 5.74121 12.303 5.63145C12.3666 5.50666 12.3666 5.34332 12.3666 5.01662V3.96662C12.3666 3.63992 12.3666 3.47657 12.303 3.35179C12.2471 3.24203 12.1579 3.15279 12.0481 3.09686C11.9233 3.03328 11.76 3.03328 11.4333 3.03328L1.63328 3.03328C1.30659 3.03328 1.14324 3.03328 1.01846 3.09686C0.908696 3.15279 0.819457 3.24203 0.763531 3.35179C0.699951 3.47657 0.699951 3.63992 0.699951 3.96662Z"
22
+ stroke={color}
23
+ strokeWidth="1.4"
24
+ strokeLinecap="round"
25
+ strokeLinejoin="round"
26
+ />
27
+ </Svg>
28
+ );
29
+ };
30
+
31
+ export { Gift01Icon };
32
+ export default Gift01Icon;
@@ -0,0 +1,43 @@
1
+ import * as React from "react";
2
+
3
+ type Gift01IconProps = React.SVGProps<SVGSVGElement> & {
4
+ size?: number | string;
5
+ color?: string;
6
+ title?: string;
7
+ };
8
+
9
+ const Gift01Icon: React.FC<Gift01IconProps> = ({
10
+ size = 14,
11
+ color = "currentColor",
12
+ title,
13
+ className,
14
+ ...props
15
+ }) => {
16
+ const ariaProps = title
17
+ ? { role: "img", "aria-label": title }
18
+ : { "aria-hidden": true };
19
+
20
+ return (
21
+ <svg
22
+ width={size}
23
+ height={size}
24
+ viewBox="0 0 14 14"
25
+ fill="none"
26
+ xmlns="http://www.w3.org/2000/svg"
27
+ className={className}
28
+ {...ariaProps}
29
+ {...props}
30
+ >
31
+ {title ? <title>{title}</title> : null}
32
+ <path
33
+ d="M6.53328 3.03328V12.3666M6.53328 3.03328H4.47078C4.16689 3.03328 3.87544 2.91037 3.66056 2.69158C3.44567 2.47278 3.32495 2.17604 3.32495 1.86662C3.32495 1.5572 3.44567 1.26045 3.66056 1.04166C3.87544 0.822867 4.16689 0.699951 4.47078 0.699951C6.07495 0.699951 6.53328 3.03328 6.53328 3.03328ZM6.53328 3.03328H8.59578C8.89968 3.03328 9.19113 2.91037 9.40601 2.69158C9.6209 2.47278 9.74162 2.17604 9.74162 1.86662C9.74162 1.5572 9.6209 1.26045 9.40601 1.04166C9.19113 0.822867 8.89968 0.699951 8.59578 0.699951C6.99162 0.699951 6.53328 3.03328 6.53328 3.03328ZM11.2 5.94995V10.5C11.2 11.1533 11.2 11.48 11.0728 11.7296C10.9609 11.9491 10.7825 12.1276 10.5629 12.2395C10.3134 12.3666 9.98668 12.3666 9.33328 12.3666L3.73328 12.3666C3.07989 12.3666 2.75319 12.3666 2.50363 12.2395C2.28411 12.1276 2.10563 11.9491 1.99378 11.7296C1.86662 11.48 1.86662 11.1533 1.86662 10.5V5.94995M0.699951 3.96662L0.699951 5.01662C0.699951 5.34332 0.699951 5.50666 0.763531 5.63145C0.819457 5.74121 0.908695 5.83045 1.01846 5.88637C1.14324 5.94995 1.30659 5.94995 1.63329 5.94995L11.4333 5.94995C11.76 5.94995 11.9233 5.94995 12.0481 5.88637C12.1579 5.83045 12.2471 5.74121 12.303 5.63145C12.3666 5.50666 12.3666 5.34332 12.3666 5.01662V3.96662C12.3666 3.63992 12.3666 3.47657 12.303 3.35179C12.2471 3.24203 12.1579 3.15279 12.0481 3.09686C11.9233 3.03328 11.76 3.03328 11.4333 3.03328L1.63328 3.03328C1.30659 3.03328 1.14324 3.03328 1.01846 3.09686C0.908696 3.15279 0.819457 3.24203 0.763531 3.35179C0.699951 3.47657 0.699951 3.63992 0.699951 3.96662Z"
34
+ stroke={color}
35
+ strokeWidth="1.4"
36
+ strokeLinecap="round"
37
+ strokeLinejoin="round"
38
+ />
39
+ </svg>
40
+ );
41
+ };
42
+
43
+ export default Gift01Icon;
@@ -8,6 +8,7 @@ export { default as Datapoints01Icon } from './Datapoints01Icon';
8
8
  export { default as DropBoxIcon } from './DropBoxIcon';
9
9
  export { default as FaceSmileIcon } from './FaceSmileIcon';
10
10
  export { default as Flag01Icon } from './Flag01Icon';
11
+ export { default as Gift01Icon } from './Gift01Icon';
11
12
  export { default as GlobeIcon } from './GlobeIcon';
12
13
  export { default as Globe02Icon } from './Globe02Icon';
13
14
  export { default as Globe05Icon } from './Globe05Icon';