globalfy-design-system 1.0.2 → 1.1.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.
- package/dist/components/atoms/Icon/Icon.d.ts +7 -2
- package/dist/components/atoms/Icon/Icon.stories.d.ts +1 -1
- package/dist/components/atoms/Icon/index.d.ts +0 -1
- package/dist/fonts/icomoon.eot +0 -0
- package/dist/fonts/icomoon.svg +2 -0
- package/dist/fonts/icomoon.ttf +0 -0
- package/dist/fonts/icomoon.woff +0 -0
- package/dist/globalfy-design-system.js +5101 -6032
- package/dist/globalfy-design-system.umd.cjs +21 -21
- package/dist/selection.json +112 -64
- package/dist/style.css +1 -1
- package/package.json +1 -1
- package/dist/components/atoms/Icon/assets/selection.json.d.ts +0 -764
- package/dist/components/atoms/Icon/icon.types.d.ts +0 -8
|
@@ -1,3 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { HTMLAttributes } from 'react';
|
|
2
2
|
|
|
3
|
-
export
|
|
3
|
+
export type IconNames = "add-circle" | "alert-circle" | "bank" | "briefcase" | "building" | "calendar" | "check" | "chevron-down" | "chevron-left" | "chevron-right" | "close" | "credit-card-number" | "credit-card" | "download" | "external-link" | "eye-close" | "eye-open" | "file-upload" | "filters" | "help-circle" | "image-broken" | "mail" | "open" | "refresh" | "Request" | "resend" | "ship" | "user" | "users" | "wallet";
|
|
4
|
+
export type IconProps = {
|
|
5
|
+
name?: string;
|
|
6
|
+
icon?: IconNames;
|
|
7
|
+
} & HTMLAttributes<HTMLSpanElement>;
|
|
8
|
+
export declare const Icon: ({ name, icon, className, ...props }: IconProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -2,7 +2,7 @@ import { StoryObj } from '@storybook/react';
|
|
|
2
2
|
|
|
3
3
|
declare const meta: {
|
|
4
4
|
title: string;
|
|
5
|
-
component: ({ name, className, ...props }: import('./
|
|
5
|
+
component: ({ name, icon, className, ...props }: import('./Icon').IconProps) => import("react/jsx-runtime").JSX.Element;
|
|
6
6
|
tags: string[];
|
|
7
7
|
};
|
|
8
8
|
export default meta;
|
package/dist/fonts/icomoon.eot
CHANGED
|
Binary file
|
package/dist/fonts/icomoon.svg
CHANGED
|
@@ -35,4 +35,6 @@
|
|
|
35
35
|
<glyph unicode="" glyph-name="file-upload" d="M546.27 482.268c-4.59 4.394-10.003 7.839-15.928 10.136-11.754 4.827-24.928 4.827-36.683 0-5.925-2.297-11.338-5.742-15.928-10.136l-96.533-96.533c-9.091-9.091-14.193-21.416-14.193-34.269s5.109-25.178 14.193-34.269c9.091-9.091 21.416-14.193 34.269-14.193s25.178 5.109 34.269 14.193l13.997 14.48v-125.011c0-12.799 5.085-25.082 14.135-34.132s21.332-14.135 34.132-14.135c12.799 0 25.082 5.085 34.132 14.135s14.135 21.332 14.135 34.132v125.011l13.997-14.48c4.486-4.523 9.828-8.11 15.704-10.565 5.887-2.454 12.192-3.715 18.566-3.715s12.679 1.261 18.566 3.715c5.876 2.454 11.218 6.042 15.704 10.565 4.523 4.486 8.11 9.828 10.565 15.704 2.454 5.887 3.715 12.192 3.715 18.566s-1.261 12.679-3.715 18.566c-2.454 5.876-6.042 11.218-10.565 15.704l-96.533 96.533zM898.134 595.695c-0.5 4.438-1.469 8.803-2.896 13.032v4.344c-2.318 4.961-5.417 9.525-9.171 13.515l-289.6 289.6c-3.991 3.753-8.555 6.853-13.515 9.171h-4.827c-4.693 2.513-9.733 4.298-14.963 5.309h-292.496c-38.407 0-75.234-15.257-102.389-42.411s-42.411-63.989-42.411-102.389v-675.733c0-38.398 15.257-75.234 42.411-102.388s63.989-42.412 102.389-42.412h482.667c38.398 0 75.234 15.258 102.388 42.412s42.412 63.99 42.412 102.388v482.667c0 0 0 0 0 2.896zM608.534 766.076l125.011-125.011h-76.744c-12.799 0-25.082 5.083-34.132 14.135s-14.135 21.332-14.135 34.132v76.744zM801.601 110.132c0-12.799-5.085-25.082-14.135-34.132s-21.332-14.135-34.132-14.135h-482.667c-12.8 0-25.080 5.085-34.132 14.135s-14.135 21.332-14.135 34.132v675.733c0 12.8 5.083 25.080 14.135 34.132s21.332 14.135 34.132 14.135h241.333v-144.8c0-38.407 15.258-75.234 42.412-102.389s63.99-42.411 102.388-42.411h144.8v-434.4z" />
|
|
36
36
|
<glyph unicode="" glyph-name="open" horiz-adv-x="975" d="M972.4 888.227c2.935-7.045 3.228-14.604 2.345-22.090v-377.141c0-24.291-19.666-44.034-44.032-44.034-24.293 0-44.032 19.744-44.032 44.034v275.058l-302.577-302.577c-17.174-17.174-45.061-17.174-62.308 0-17.174 17.171-17.174 45.058 0 62.305l303.679 303.606h-276.158c-24.293 0-44.032 19.668-44.032 44.033 0 24.291 19.739 44.033 44.032 44.033h382.425c0.146 0 0.366-0.073 0.512-0.073 5.578-0.073 11.084-1.174 16.291-3.302 10.791-4.477 19.373-13.063 23.854-23.851zM805.947 409.093c24.074 0 43.886-19.817 43.959-43.886v-353.66c-0.073-6.090-1.102-27.516-17.32-46.304-20.548-23.927-49.391-24.951-54.014-25.025h-707.312c-4.55 0.146-35.373 1.395-55.775 27.077-14.311 17.979-15.411 37.576-15.485 44.251v707.315c0 11.302 4.77 35.96 23.851 53.133 14.751 13.356 33.391 17.173 47.409 18.127h353.657c24.144-0.073 43.886-19.888 43.959-43.886 0-24.145-19.742-44.033-43.959-44.107l-336.778-0.147v-673.555h673.556c0.073 112.211 0.073 224.495 0.146 336.779 0.073 24.142 20.036 43.959 44.105 43.886z" />
|
|
37
37
|
<glyph unicode="" glyph-name="Request" horiz-adv-x="1067" d="M1020.198-12.966l-32.098 96.299c-4.634 13.935-17.668 23.334-32.367 23.334-18.833 0-34.133 15.317-34.133 34.133 0 18.85-15.266 34.133-34.133 34.133h-341.333v34.133h375.467c18.867 0 34.133 15.283 34.133 34.133s-15.266 34.133-34.133 34.133h-0.367c-4.066 188.382-48.969 363.6-375.1 374.883v34.717c18.867 0 34.133 15.283 34.133 34.133s-15.266 34.133-34.133 34.133h-68.267c-18.85 0-34.133-15.283-34.133-34.133s15.283-34.133 34.133-34.133v-34.717c-326.118-11.284-371.052-186.502-375.101-374.883h-0.367c-18.85 0-34.133-15.283-34.133-34.133s15.283-34.133 34.133-34.133h375.468v-34.133h-341.335c-18.85 0-34.133-15.283-34.133-34.133 0-18.816-15.317-34.133-34.133-34.133-14.7 0-27.734-9.399-32.384-23.334l-34.133-102.4c-3.467-10.415-1.717-21.85 4.7-30.75 6.417-8.917 16.717-14.182 27.683-14.182h955.735c0.201 0.017 0.465 0.034 0.666 0 18.867 0 34.133 15.283 34.133 34.133 0 6.148-1.6 11.917-4.467 16.9zM512 584.533c297.297 0 337.267-130.799 341.001-307.2h-681.985c3.717 176.401 43.683 307.2 340.985 307.2zM81.482 4.267l12.467 37.402c33 8.55 59.583 33.182 70.867 64.998h694.351c11.298-31.817 37.867-56.448 70.865-64.998l12.467-37.402h-861.016zM773.73 388.301c4.736-18.236-6.199-36.868-24.465-41.6-2.867-0.751-5.769-1.101-8.602-1.101-15.164 0-28.996 10.185-32.998 25.566-9.331 35.883-25.532 66.266-130.099 74.551-18.799 1.498-32.819 17.933-31.334 36.732 1.502 18.786 17.434 32.785 36.732 31.334 114.735-9.101 170.001-45.449 190.767-125.483zM477.867 857.6v68.267c0 18.85 15.283 34.133 34.133 34.133s34.133-15.283 34.133-34.133v-68.267c0-18.85-15.283-34.133-34.133-34.133s-34.133 15.283-34.133 34.133zM112.399 799.334c-13.333 13.333-13.333 34.933 0 48.266s34.933 13.333 48.267 0l34.133-34.133c13.333-13.333 13.333-34.933 0-48.267-6.667-6.667-15.4-10-24.133-10s-17.467 3.333-24.134 10l-34.133 34.134zM829.197 765.2c-13.333 13.333-13.333 34.933 0 48.267l34.133 34.133c13.333 13.333 34.935 13.333 48.269 0s13.333-34.933 0-48.266l-34.133-34.134c-6.669-6.667-15.398-10-24.132-10s-17.468 3.333-24.137 10z" />
|
|
38
|
+
<glyph unicode="" glyph-name="image-broken" horiz-adv-x="1050" d="M1034.752 317.952l-128 130.048c-4.759 4.8-10.422 8.607-16.66 11.208-6.241 2.598-12.933 3.937-19.692 3.937s-13.45-1.339-19.689-3.937c-6.241-2.601-11.904-6.408-16.663-11.208l-142.848-145.408-142.848 145.408c-4.759 4.8-10.422 8.607-16.66 11.208-6.241 2.598-12.933 3.937-19.692 3.937s-13.45-1.339-19.689-3.937c-6.241-2.601-11.904-6.408-16.663-11.208l-117.248-119.808-117.248 119.808c-4.76 4.8-10.422 8.607-16.662 11.208-6.239 2.598-12.931 3.937-19.69 3.937s-13.451-1.339-19.69-3.937c-6.239-2.601-11.902-6.408-16.662-11.208l-128-128c-4.661-4.869-8.315-10.611-10.752-16.896-2.623-6.154-4.015-12.764-4.096-19.456v-194.048c0-40.737 16.183-79.805 44.988-108.611 28.806-28.808 67.875-44.989 108.612-44.989h716.8c40.737 0 79.805 16.182 108.611 44.989 28.808 28.805 44.989 67.873 44.989 108.611v192c-0.082 6.692-1.472 13.302-4.096 19.456-2.437 6.285-6.090 12.027-10.752 16.896zM947.2 89.6c0-13.578-5.394-26.601-14.996-36.204s-22.625-14.996-36.204-14.996h-716.8c-13.579 0-26.602 5.394-36.204 14.996s-14.996 22.625-14.996 36.204v171.008l76.8 76.8 117.248-117.76c4.759-4.8 10.422-8.607 16.663-11.208 6.239-2.598 12.931-3.937 19.689-3.937s13.45 1.339 19.692 3.937c6.239 2.601 11.901 6.408 16.66 11.208l117.248 117.76 142.848-145.408c4.759-4.8 10.422-8.607 16.663-11.208 6.239-2.598 12.931-3.937 19.689-3.937s13.45 1.339 19.692 3.937c6.239 2.601 11.901 6.408 16.66 11.208l142.848 143.36 76.8-76.8v-168.96zM896 960h-716.8c-40.737 0-79.806-16.183-108.612-44.988s-44.988-67.874-44.988-108.612v-269.312c-0.533-4.593-0.533-9.231 0-13.824 0 0 0-3.584 0-5.12 3.206-8.008 8.382-15.073 15.048-20.547 6.666-5.471 14.607-9.17 23.085-10.752 8.478-1.585 17.218-1.001 25.41 1.697 8.192 2.696 15.57 7.419 21.449 13.729l94.208 91.136 117.248-117.76c4.759-4.8 10.422-8.607 16.663-11.208 6.239-2.598 12.931-3.937 19.689-3.937s13.45 1.339 19.692 3.937c6.239 2.601 11.901 6.408 16.66 11.208l117.248 117.76 142.848-145.408c4.759-4.8 10.422-8.607 16.663-11.208 6.239-2.598 12.931-3.937 19.689-3.937s13.45 1.339 19.692 3.937c6.239 2.601 11.901 6.408 16.66 11.208l142.848 143.36 90.624-91.136c5.88-6.31 13.258-11.034 21.448-13.729 8.192-2.698 16.934-3.282 25.411-1.697 8.479 1.582 16.42 5.281 23.086 10.752 6.666 5.473 11.843 12.539 15.048 20.547 0.248 1.526 0.248 3.082 0 4.608 1.8 4.58 2.836 9.421 3.072 14.336v271.36c0 40.649-16.113 79.64-44.808 108.431s-67.633 45.033-108.28 45.169zM947.2 660.992l-40.448 43.008c-4.759 4.799-10.422 8.608-16.66 11.207-6.241 2.599-12.933 3.938-19.692 3.938s-13.45-1.338-19.689-3.938c-6.241-2.599-11.904-6.408-16.663-11.207l-142.848-145.408-142.848 145.408c-4.759 4.799-10.422 8.608-16.66 11.207-6.241 2.599-12.933 3.938-19.692 3.938s-13.45-1.338-19.689-3.938c-6.241-2.599-11.904-6.408-16.663-11.207l-117.248-119.808-117.248 119.808c-4.76 4.799-10.422 8.608-16.662 11.207s-12.931 3.938-19.69 3.938c-6.759 0-13.451-1.338-19.69-3.938s-11.902-6.408-16.662-11.207l-40.448-43.008v145.408c0 13.579 5.394 26.602 14.996 36.204s22.625 14.996 36.204 14.996h716.8c13.578 0 26.601-5.394 36.204-14.996s14.996-22.625 14.996-36.204v-145.408z" />
|
|
39
|
+
<glyph unicode="" glyph-name="refresh" d="M443.974 733.547c50.614 11.452 103.302 9.896 153.152-4.523s95.238-41.232 131.92-77.934c0.454-0.454 0.918-0.902 1.386-1.341l77.018-72.366h-90.646c-33.933 0-61.44-27.507-61.44-61.44s27.507-61.44 61.44-61.44h245.757c33.933 0 61.44 27.507 61.44 61.44v245.758c0 33.932-27.507 61.439-61.44 61.439s-61.44-27.507-61.44-61.439v-103.722l-85.872 80.686c-51.232 51.023-114.515 88.307-183.978 108.4-69.789 20.187-143.555 22.365-214.413 6.332s-136.5-49.754-190.802-98.018c-54.301-48.263-95.491-109.496-119.727-177.983-11.319-31.99 5.436-67.098 37.424-78.416 31.988-11.322 67.097 5.434 78.416 37.424 17.311 48.918 46.733 92.656 85.519 127.131s85.675 58.561 136.286 70.012zM61.44 413.539c-33.932 0-61.44-27.51-61.44-61.44v-245.76c0-33.933 27.507-61.44 61.44-61.44s61.44 27.507 61.44 61.44v103.722l85.866-80.685c51.236-51.027 114.509-88.304 183.974-108.403 69.786-20.186 143.558-22.365 214.416-6.33 70.854 16.032 136.499 49.75 190.8 98.016 54.304 48.266 95.488 109.494 119.731 177.981 11.322 31.987-5.43 67.098-37.421 78.419-31.987 11.322-67.094-5.43-78.419-37.418-17.315-48.925-46.736-92.662-85.526-127.139-38.781-34.47-85.667-58.557-136.285-70.010-50.611-11.453-103.302-9.898-153.152 4.522l-99.178 49.507c-11.531 8.666-22.475 18.157-32.737 28.426-0.454 0.454-0.916 0.902-1.385 1.344l-77.016 72.368h90.65c33.931 0 61.438 27.507 61.438 61.44 0 33.93-27.507 61.44-61.438 61.44h-245.759z" />
|
|
38
40
|
</font></defs></svg>
|
package/dist/fonts/icomoon.ttf
CHANGED
|
Binary file
|
package/dist/fonts/icomoon.woff
CHANGED
|
Binary file
|